Hello Johannes,

in other mails you argue with Rowan about global state. I think it's better to focus on innovation of "class context" in global scope, as it's impossible to reason the disadvantages of global state away. (Discussions on variable scope are painful too.)

And two questions:
1. By definition cctor is guaranteed to be executed only once. Right?
2. In your examples you employ some external resources in cctor (e.g. logger, db, ini-files). Do you intend to propose a cdtor to release this resources?

Thank you!

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to