note 69928 added to function.class-exists
| From: | gerritt at kudosonline dot com dot au | Date: | Wed, 27 Sep 2006 02:49:21 +0000 |
| Subject: | note 69928 added to function.class-exists | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-117704@lists.php.net to get a copy of this message | ||
the addition of the autoload Boolean is very very very bad !!!!
the function is called "class_exists" not
class_exists_and_autoload_it_if_it_does_not"
Whoever has added this capability has broken all PEAR code when used with anything that might
implement a __AUTOLOAD function.
At least make the default behaviour configurable to that it can default to not try to autoload.
I now have to modify all PEAR to add this parameter since all PEAR code is php4.
----
Server IP: 203.220.0.234
Probable Submitter: 202.7.176.133 (proxied: 220.245.131.99)
----
Manual Page -- http://www.php.net/manual/en/function.class-exists.php
Edit -- https://master.php.net/note/edit/69928
Del: integrated -- https://master.php.net/note/delete/69928/integrated
Del: useless -- https://master.php.net/note/delete/69928/useless
Del: bad code -- https://master.php.net/note/delete/69928/bad+code
Del: spam -- https://master.php.net/note/delete/69928/spam
Del: non-english -- https://master.php.net/note/delete/69928/non-english
Del: in docs -- https://master.php.net/note/delete/69928/in+docs
Del: other reasons-- https://master.php.net/note/delete/69928
Reject -- https://master.php.net/note/reject/69928
Search -- https://master.php.net/manage/user-notes.php