note 88043 added to language.constants.predefined

From: Date: Wed, 07 Jan 2009 14:12:47 +0000
Subject: note 88043 added to language.constants.predefined
Groups: php.notes 
Request: Send a blank email to php-notes+get-148920@lists.php.net to get a copy of this message
me at jamessocol dot com wished for a __STATIC__ constant that would contain the name of the class on which a static method was called (as opposed to the class in which it's defined). This functionality is already provided for in PHP 5.3 in the get_called_class() function. ---- Server IP: 69.147.83.197 Probable Submitter: 128.197.24.216 ---- Manual Page -- http://www.php.net/manual/en/language.constants.predefined.php Edit -- https://master.php.net/note/edit/88043 Del: integrated -- https://master.php.net/note/delete/88043/integrated Del: useless -- https://master.php.net/note/delete/88043/useless Del: bad code -- https://master.php.net/note/delete/88043/bad+code Del: spam -- https://master.php.net/note/delete/88043/spam Del: non-english -- https://master.php.net/note/delete/88043/non-english Del: in docs -- https://master.php.net/note/delete/88043/in+docs Del: other reasons-- https://master.php.net/note/delete/88043 Reject -- https://master.php.net/note/reject/88043 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#148920) next »