ID:               30423
 Updated by:       [EMAIL PROTECTED]
 Reported By:      auroraeosrose at hotmail dot com
-Status:           Open
+Status:           Closed
 Bug Type:         Feature/Change Request
-Operating System: Irrelevant
+Operating System: *
-PHP Version:      5CVS-2004-10-13 (dev)
+PHP Version:      5.*
 New Comment:

Simply use get_class()


Previous Comments:
------------------------------------------------------------------------

[2004-10-13 20:18:43] auroraeosrose at hotmail dot com

Description:
------------
When using parent - child classes you sometimes need to get the name of
the child, not the parent FROM the parent class.  In a regular object
instance you can do get_class($this);  However in static methods, you
cannot.  I'd really like a get_class(self); so that you can get the
same functionality in a static method.



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=30423&edit=1

Reply via email to