note 89448 added to language.oop5.autoload

From: Date: Sun, 08 Mar 2009 06:55:20 +0000
Subject: note 89448 added to language.oop5.autoload
Groups: php.notes 
Request: Send a blank email to php-notes+get-151624@lists.php.net to get a copy of this message
You should not have to use require_once inside the autoloader, as if the class is not found it wouldn't be trying to look for it by using the autoloader. Just use require(), which will be better on performance as well as it does not have to check if it is unique. ---- Server IP: 208.69.120.35 Probable Submitter: 38.101.216.130 ---- Manual Page -- http://www.php.net/manual/en/language.oop5.autoload.php Edit -- https://master.php.net/note/edit/89448 Del: integrated -- https://master.php.net/note/delete/89448/integrated Del: useless -- https://master.php.net/note/delete/89448/useless Del: bad code -- https://master.php.net/note/delete/89448/bad+code Del: spam -- https://master.php.net/note/delete/89448/spam Del: non-english -- https://master.php.net/note/delete/89448/non-english Del: in docs -- https://master.php.net/note/delete/89448/in+docs Del: other reasons-- https://master.php.net/note/delete/89448 Reject -- https://master.php.net/note/reject/89448 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#151624) next »