__autoload() lowercase
| From: | Eduardo R. Maciel | Date: | Tue, 18 Nov 2003 17:42:28 +0000 |
| Subject: | __autoload() lowercase | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-5523@lists.php.net to get a copy of this message | ||
We run into a problem, when tryng to organize class
files since autoload always uses lowercase.
My class file, for example, is named
ArrayIterator.class.php (as the class ArrayIterator )
but I get the following error when trying to autoload
the class:
Warning:
__autoload(/usr/local/apache2/htdocs/teste/fw/arrayiterator.class.php):
failed to open stream: No such file or directory in
/usr/local/apache2/htdocs/teste/fw/teste.php on line
14
Fatal error: __autoload(): Failed opening required
'/usr/local/apache2/htdocs/teste/fw/arrayiterator.class.php'
(include_path='.:/usr/local/php/lib/php') in
/usr/local/apache2/htdocs/teste/fw/teste.php on line
14
looks like it is not fixed in beta2.
thanks,
Eduardo.
__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree