Last 5.3 release ever available: PHP 5.3.29 - 5.3 now EOL

ReflectionClass::getDefaultProperties

(PHP 5)

ReflectionClass::getDefaultPropertiesدریافت خاصیت‌های پیش‌فرض

Description

public array ReflectionClass::getDefaultProperties ( void )

دریافت خاصیت‌های پیش‌فرض کلاس.

Warning

This function is currently not documented; only its argument list is available.

Parameters

This function has no parameters.

Return Values

array خاصیت‌های پیش‌فرض.

See Also

add a note add a note

User Contributed Notes 2 notes

up
1
runaurufu AT gmail.com
3 years ago
Worth noting that it will not return private parameters of parent class...
so it works exactly as get_class_vars or get_object_vars
up
0
captainjester at hotmail dot com
4 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.
To Top