-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
spl_autoload() doesn't support namespaces #2308
Comments
php docs says the following about the 1. param for
|
Thanks for reporting this. I think this is probably just a bug with our implementation of |
There does appear to be a bug, but the code as written doesn't run under zend php. The |
Miss edit. I remove the new keyword on post. But the poblem persist. On ubuntu 13.10 throws the error with DI.php and di.php. |
Here's a simpler index.php which shows the same problem
|
Fix for spl_autoload() namespace support up for internal review (FB: D1344376) This won't be much use until #2729 is fixed though |
Better fix (also for the wider issue): D1344838 |
The error:
\nFatal error: Class undefined: DI in /home/runeko/www/index.php on line 7
My folder structure:
is hhvm bugged? thanks.
The text was updated successfully, but these errors were encountered: