PHP » GoLang |
login |
register |
about
|
GoLang ReflectionClass::getDefaultProperties
request it (377)
GoLang replacement for PHP's ReflectionClass::getDefaultProperties
[edit | history]
PHP ReflectionClass::getDefaultPropertiesPHP original manual for ReflectionClass::getDefaultProperties [ show | php.net ]ReflectionClass::getDefaultProperties(PHP 5, PHP 7) ReflectionClass::getDefaultProperties — Gets default properties Description
public array ReflectionClass::getDefaultProperties
( void
)
Gets default properties from a class (including inherited properties).
ParametersThis function has no parameters. Return Values
An array of default properties, with the key being the name of
the property and the value being the default value of the property or Examples
Example #1 ReflectionClass::getDefaultProperties() example
<?php The above example will output: array(5) { ["staticProperty"]=> string(14) "staticProperty" ["property"]=> string(15) "propertyDefault" ["privateProperty"]=> string(22) "privatePropertyDefault" ["defaultlessProperty"]=> NULL ["inheritedProperty"]=> string(16) "inheritedDefault" } See Also
|
more
Recently updated
more
Most requested
more
Last requests
|