我如何检测某个类中具有构造函数的方法?例如:

function __construct()
{
}

最佳答案

我想用method_exists吗?

07-24 17:55