diff --git a/reference/classobj/functions/get-class.xml b/reference/classobj/functions/get-class.xml index 7a2d4fb069..dd372ac318 100644 --- a/reference/classobj/functions/get-class.xml +++ b/reference/classobj/functions/get-class.xml @@ -23,7 +23,7 @@ object - The tested object + The tested object. This parameter may be omitted when inside a class. @@ -37,12 +37,16 @@ instance. Returns &false; if object is not an object. + + If object is omitted when inside a class, the + name of that class is returned. + &reftitle.errors; - If get_class() is called with anything other than an object, an E_WARNING - level error is raised. + If get_class is called with anything other than an + object, an E_WARNING level error is raised.