|
get_called_classthe "Late Static Binding" class name Beschreibung
string get_called_class
( void
)
Gets the name of the class the static method is called in. Rückgabewerte
Returns the class name. Returns Beispiele
Beispiel #1 Using get_called_class
<?phpDas oben gezeigte Beispiel erzeugt folgende Ausgabe: string(3) "foo" string(3) "bar" Siehe auch
|