Zdobądź obiekt 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)