📜  php 打印对象 - PHP 代码示例

📅  最后修改于: 2022-03-11 14:53:59.742000             🧑  作者: Mango

代码示例2
$class_methods = get_class_methods('myclass');
// or
$class_methods = get_class_methods(new myclass());
foreach ($class_methods as $method_name) 
{
    echo "$method_name
"; }