note 106369 deleted from function.get-class by danbrown

From: Date: Fri, 04 Nov 2011 14:01:02 +0000
Subject: note 106369 deleted from function.get-class by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-184303@lists.php.net to get a copy of this message
Note Submitter: Michael Richey ---- The test for existence of an instance of a particular class throws errors if the class hasn't been initialized. replace: if(!static::$m_pInstance[$class]) { with: if(!isset(static::$m_pInstance[$class])) { Sorry :)

« previous php.notes (#184303) next »