(PHP 5, PHP 7, PHP 8)
ReflectionMethod::isConstructor — 檢查方法是否為建構子
檢查方法是否為建構子。
此函式沒有參數。
如果方法是建構子,則傳回 true,否則傳回 false
true
false