Answers for "php get object typ"

PHP
1

php get type of object

gettype($object);
Posted by: Guest on August-10-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