note 117017 added to language.oop5.autoload

From: Date: Thu, 02 Apr 2015 01:10:21 +0000
Subject: note 117017 added to language.oop5.autoload
Groups: php.notes 
Request: Send a blank email to php-notes+get-202147@lists.php.net to get a copy of this message
On the if/else, you are better off either entering a break after success and continue on else (if you feel as though you have to return something), or otherwise not putting in an else. the else with return will cause a premature end to the function. Also, if you use an array of directories, it may be a good idea to enter a blank ('') as the first value so that the script will check locally. ---- Server IP: 72.52.91.14 Probable Submitter: 68.51.70.128 ---- Manual Page -- http://php.net/manual/en/language.oop5.autoload.php Edit -- https://master.php.net/note/edit/117017 Del: integrated -- https://master.php.net/note/delete/117017/integrated Del: useless -- https://master.php.net/note/delete/117017/useless Del: bad code -- https://master.php.net/note/delete/117017/bad+code Del: spam -- https://master.php.net/note/delete/117017/spam Del: non-english -- https://master.php.net/note/delete/117017/non-english Del: in docs -- https://master.php.net/note/delete/117017/in+docs Del: other reasons-- https://master.php.net/note/delete/117017 Reject -- https://master.php.net/note/reject/117017 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#202147) next »