Hello Rasmus! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ RS> Hey,
RS> I wonder if it would make sense to have a way to globally hook into RS> __construct() - sort of like how you can hook into the autoloaders with RS> spl_autoload_register() ... RS> This could be useful for things like dependency injection and debugging. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Programming language should have a clear behavior. But here is too much magic. Usually, DI objects are not created in a vacuum. They require a factory... may be service locator. Like this: http://snipt.org/vLae1/Traditional -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Regards, Edmond -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php