Details
-
Bug
-
Resolution: Fixed
-
Medium
-
2011.10, 2011.11, 4.4.1, 4.5.0, 4.6.0
-
None
-
Any
Description
Autoload generation was updated in 4.5 to handler namespace. It works great when you use namespace like this :
namespace ezpublish;
But PHP provides another way to define namespaces.
namespace ezpublish
{
}
This causes the autoload generation to loop until memory limit is reached when a namespace is defined with bracket.
Steps to reproduce
- Create a file with an empty namespace with bracket
- Generate autoload