svn: /phpdoc/en/trunk/reference/classobj/functions/ get-class.xml

From: Date: Sun, 15 Aug 2010 07:17:24 +0000
Subject: svn: /phpdoc/en/trunk/reference/classobj/functions/ get-class.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-6992@lists.php.net to get a copy of this message
degeberg Sun, 15 Aug 2010 07:17:24 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=302255 Log: Fixed PHP bug #52605 (get_class(NULL) returns class name when called insid member function of a class) Bug: http://bugs.php.net/52605 (Open) get_class(NULL) returns class name when called insid member function of a class Changed paths: U phpdoc/en/trunk/reference/classobj/functions/get-class.xml Modified: phpdoc/en/trunk/reference/classobj/functions/get-class.xml =================================================================== --- phpdoc/en/trunk/reference/classobj/functions/get-class.xml 2010-08-15 07:05:33 UTC (rev 302254) +++ phpdoc/en/trunk/reference/classobj/functions/get-class.xml 2010-08-15 07:17:24 UTC (rev 302255) @@ -9,7 +9,7 @@ &reftitle.description; <methodsynopsis> <type>string</type><methodname>get_class</methodname> - <methodparam choice="opt"><type>object</type><parameter>object</parameter></methodparam> + <methodparam choice="opt"><type>object</type><parameter>object</parameter><initializer>&null;</initializer></methodparam> </methodsynopsis> <para> Gets the name of the class of the given <parameter>object</parameter>. @@ -58,6 +58,14 @@ </thead> <tbody> <row> + <entry>Since 5.3.0</entry> + <entry> + &null; became the default value for <parameter>object</parameter>, + so passing &null; to <parameter>object</parameter> now has the same + result as not passing any value. + </entry> + </row> + <row> <entry>Since 5.0.0</entry> <entry> The class name is returned in its original notation.

« previous php.doc.cvs (#6992) next »