PHP » GoLang |
login |
register |
about
|
GoLang ReflectionClass::export
request it (603)
GoLang replacement for PHP's ReflectionClass::export
[edit | history]
ReflectionClass::export(PHP 5, PHP 7) ReflectionClass::export — Exports a class DescriptionExports a reflected class. Parameters
Return Values
If the Examples
Example #1 Basic usage of ReflectionClass::export()
<?phpThe above example will output something similar to:
Class [ <user> class Apple ] {
@@ php shell code 1-8
- Constants [0] {
}
- Static properties [0] {
}
- Static methods [0] {
}
- Properties [2] {
Property [ <default> public $var1 ]
Property [ <default> public $var2 ]
}
- Methods [1] {
Method [ <user> public method type ] {
@@ php shell code 5 - 7
}
}
}
|
more
Most requested
more
Last requests
|