Stanislav Malyshev wrote:
DR>> But it *is* confusing (just as function() { function() {} }, but of
DR>> course we can not change that anymore). What is the reason of
DR>> allowing this 'nested' stuff?

Because someone asked for it. I don't see why it is so bad.


That's a bad reason for a bad feature. Syntax should imply functionality. Give that code to someone who's never used/seen php code, and it will imply something completely incorrect. Stuff like this degrades PHP's 'ease of use and learning'.


Shane



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



Reply via email to