Is this RFC outdated? https://wiki.php.net/rfc/jsonable
We have JsonSerializable in 5.4 - this appears to be essentially the same thing? (Should it be moved from "draft" to "implemented", or should it just be removed? It was not implemented with the names used in this RFC.) I was also looking at the following RFC: https://wiki.php.net/rfc/linecontrol I have often wondered about something similar - although I don't like what's proposed here as far as syntax. We already have syntax for directives - building on that, I would expect to see something like this: declare(file='source.tpl#3'); This would affect error-reporting of all lines following that line. Using the directive block-syntax, this would affect error-reporting only within the block: declare(file='source.tpl#3') { ... } I've been hungry for this feature for many years - it would pave the way for huge improvements in template-engines, AOP frameworks, pre-processors, code-generators, and meta-programming in general... most php-developers shy away from most of these powerful patterns, because there is currently no way to implement "proper" error-reporting for any of these patterns... -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php