get_called_class The "Late Static Binding" class name &reftitle.description; stringget_called_class Gets the name of the class the static method is called in. &reftitle.parameters; &no.function.parameters; &reftitle.returnvalues; Returns the class name. &reftitle.errors; If get_called_class is called from outside a class, an Error is thrown. Prior to PHP 8.0.0, an E_WARNING level error was raised. &reftitle.changelog; &Version; &Description; 8.0.0 Calling this function from outside a class, will now throw an Error. Previously, an E_WARNING was raised and the function returned &false;. &reftitle.examples; Using <function>get_called_class</function> ]]> &example.outputs; &reftitle.seealso; get_parent_class get_class is_subclass_of