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