Answers for "php get object type"

PHP
1

php get type of object

gettype($object);
Posted by: Guest on August-10-2020
12

find type in php

gettype($u)
Posted by: Guest on May-08-2020
0

get object tyhpe php

gettype($obj);// Output: "object"
$obj instanceof Myclass;// Output: true (if it's an instance of that class)
Posted by: Guest on April-06-2021

Browse Popular Code Answers by Language