Answers for "php dump class of variable"

PHP
6

php get class name of this

get_class($this);
Posted by: Guest on March-22-2020
1

var dump php look clear

// make php var_dump print_r var_export look clear and pretty
echo '<pre>' . var_export($data, true) . '</pre>';
die('<pre>' . var_export($data, true) . '</pre>');
Posted by: Guest on July-23-2020
0

php get object class

get_class($object);
Posted by: Guest on December-26-2020

Browse Popular Code Answers by Language