panique / mini

Just an extremely simple naked PHP application, useful for small projects and quick prototypes. Some might call it a micro framework :)
1.35k stars 479 forks source link

[in TODO] PHP 7 Cannot declare class Error #209

Closed codebicycle closed 8 years ago

codebicycle commented 8 years ago

"Fatal error: Cannot declare class Error, because the name is already in use ..."

Error is a class used internally by PHP 7, it is the base class for all internal PHP errors. link to manual

Solution: rename class Error from error controller to something else. Following references to error should be modified.

ianmustafa commented 8 years ago

Why didn't just create pull request?

codebicycle commented 8 years ago

"There are only two hard problems in Computer Science: cache invalidation and naming things." - Phil Karlton

panique commented 8 years ago

Thank for the find and the good info, I'll have a look when there's some free time and provide a fix!

panique commented 8 years ago

thanks, it's fixed in develop branch!