Worth noting that it will not return private parameters of parent class...
so it works exactly as get_class_vars or get_object_vars
ReflectionClass::getDefaultProperties
(PHP 5)
ReflectionClass::getDefaultProperties — Öntanımlı özellikleri döndürür
Açıklama
public array ReflectionClass::getDefaultProperties
( void
)
Sınıfın öntanımlı özelliklerini döndürür.
Uyarı
Bu işlev hala belgelendirilmemiştir; sadece değiştirge listesi mevcuttur.
Değiştirgeler
Bu işlevin değiştirgesi yoktur.
Dönen Değerler
Öntanımlı özellikleri içeren bir dizi.
runaurufu AT gmail.com ¶
1 year ago
captainjester at hotmail dot com ¶
3 years ago
This will return all properties in a class and any parent classes. The array will have keys set to the property names and empty values.
