PHP » GoLang |
login |
register |
about
|
GoLang get_called_class
request it (468)
GoLang replacement for PHP's get_called_class
[edit | history]
get_called_class(PHP 5 >= 5.3.0, PHP 7) get_called_class — The "Late Static Binding" class name Description
string get_called_class
( void
)
Gets the name of the class the static method is called in. Return Values
Returns the class name. Returns Examples
Example #1 Using get_called_class()
<?php The above example will output: string(3) "foo" string(3) "bar" See Also
|
more
Recently updated
more
Most requested
more
Last requests
|