Bug #51991 [Csd]: spl_autoload and *nix support with namespace
| From: | felipe@php.net | Date: | Tue, 27 Jul 2010 22:20:23 +0000 |
| Subject: | Bug #51991 [Csd]: spl_autoload and *nix support with namespace | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-152860@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=51991&edit=1
ID: 51991
Updated by: felipe@php.net
Reported by: grummfy at gmail dot com
Summary: spl_autoload and *nix support with namespace
Status: Closed
Type: Bug
Package: SPL related
Operating System: linux, mac, *nix
PHP Version: 5.3.2
Assigned To: felipe
Block user comment: N
New Comment:
Exactly. You can implement your custom autoload to behaves as you want.
The lowercased stuff is good for some people, but is not the desired for
others.
Previous Comments:
------------------------------------------------------------------------
[2010-07-27 20:05:46] xstansa at gmail dot com
Are you saying that I'll have to rename all my php file names to be
lowercase on
Linux to use spl_autoload?
------------------------------------------------------------------------
[2010-07-27 03:34:20] felipe@php.net
Hi, I forgot to say... the path that will be tried to be found it is
lowercased.
i.e. my/framework/test.php
See bug #52406
Thanks.
------------------------------------------------------------------------
[2010-07-27 02:58:24] xstansa at gmail dot com
I've already checked that using phpinfo(). It is PHP 5.3.3.
------------------------------------------------------------------------
[2010-07-26 23:54:29] felipe@php.net
Hi, make sure you are using the right version... (phpversion())
------------------------------------------------------------------------
[2010-07-26 23:01:53] xstansa at gmail dot com
I just upgraded to PHP 5.3.3 and this bug still persists.
Tested on Linux (Cent OS 5.5) with PHP 5.3.3.
Same Test Script and result as the original bug.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/bug.php?id=51991
--
Edit this bug report at http://bugs.php.net/bug.php?id=51991&edit=1