using core.php for code validation
One sideeffect of using ZenMagick’s core.php feature is, that it is a great tool to validate PHP code during massive code refactoring.
The way it works it makes sure that all code is loaded for every request. That means it’s great to verify that:
- PHP syntax is correct in all code
- there aren’t any duplicate classes or functions
- in some cases code behaves differently when loaded all in one go
Other times it’s a pain, though. Right now I’ve been investigating an issue with firing events that works without core.php and breaks using core.php. Usually, these cases require some debug code to figure out which exact implementation is used and then adjust the initial order of classes in core.php :/

[...] See original here: using core.php for code validation [...]
Pingback by News using core.php for code validation | Web 2.0 Designer — July 9, 2009 @ 7:48 am