note 87593 added to function.class-exists

From: Date: Fri, 12 Dec 2008 00:14:18 +0000
Subject: note 87593 added to function.class-exists
Groups: php.notes 
Request: Send a blank email to php-notes+get-148054@lists.php.net to get a copy of this message
If spl_autoload_register() had been called, then function will try autoload class if it does not exists. Use instead <?php in_array($class_name, get_declared_classes()); ?> ---- Server IP: 69.147.83.197 Probable Submitter: 195.58.1.155 (proxied: 213.242.239.40) ---- Manual Page -- http://www.php.net/manual/en/function.class-exists.php Edit -- https://master.php.net/note/edit/87593 Del: integrated -- https://master.php.net/note/delete/87593/integrated Del: useless -- https://master.php.net/note/delete/87593/useless Del: bad code -- https://master.php.net/note/delete/87593/bad+code Del: spam -- https://master.php.net/note/delete/87593/spam Del: non-english -- https://master.php.net/note/delete/87593/non-english Del: in docs -- https://master.php.net/note/delete/87593/in+docs Del: other reasons-- https://master.php.net/note/delete/87593 Reject -- https://master.php.net/note/reject/87593 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#148054) next »