note 99759 added to function.spl-autoload-extensions

From: Date: Fri, 03 Sep 2010 13:46:25 +0000
Subject: note 99759 added to function.spl-autoload-extensions
Groups: php.notes 
Request: Send a blank email to php-notes+get-172295@lists.php.net to get a copy of this message
A quick note for anyone using this function to add their own autoload extensions. I found that if I included a space in between the different extensions (i.e. '.php, .class.php') the function would not work. To get it to work I had to remove the spaces between the extensions (ie. '.php,.class.php'). This was tested in PHP 5.3.3 on Windows and I'm using spl_autoload_register() without adding any custom autoload functions. Hope that helps somebody. ---- Server IP: 66.207.199.35 Probable Submitter: 70.55.235.82 ---- Manual Page -- http://www.php.net/manual/en/function.spl-autoload-extensions.php Edit -- https://master.php.net/note/edit/99759 Del: integrated -- https://master.php.net/note/delete/99759/integrated Del: useless -- https://master.php.net/note/delete/99759/useless Del: bad code -- https://master.php.net/note/delete/99759/bad+code Del: spam -- https://master.php.net/note/delete/99759/spam Del: non-english -- https://master.php.net/note/delete/99759/non-english Del: in docs -- https://master.php.net/note/delete/99759/in+docs Del: other reasons-- https://master.php.net/note/delete/99759 Reject -- https://master.php.net/note/reject/99759 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#172295) next »