📅  最后修改于: 2022-03-11 14:53:59.742000             🧑  作者: Mango
$class_methods = get_class_methods('myclass');
// or
$class_methods = get_class_methods(new myclass());
foreach ($class_methods as $method_name)
{
echo "$method_name
";
}