Answers for "php display all items in object"

PHP
0

php print object

$class_methods = get_class_methods('myclass');
// or
$class_methods = get_class_methods(new myclass());
foreach ($class_methods as $method_name) 
{
    echo "$method_name<br/>";
}
Posted by: Guest on May-20-2020

Code answers related to "php display all items in object"

Browse Popular Code Answers by Language