Obtenir l'objet 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)