Obtener objeto tyhpe php
gettype($obj);// Output: "object"
$obj instanceof Myclass;// Output: true (if it's an instance of that class)
Avraz akrayee
gettype($obj);// Output: "object"
$obj instanceof Myclass;// Output: true (if it's an instance of that class)