Hi! > Well, apart from perhaps leaving them with a simpler language that > doesn't have the inconsistencies and corner cases that currently exist > (and documented ad nauseum) not because of any design decision but > "because the parser is written that way".
If you think writing new parser gets rid of all corner cases you are in for a big surprise. AST is not magic and parser will always be written exactly the way it is written - so if somebody won't implement certain feature in a consistent way, it won't be implemented in consistent way, AST or not. And it's a bit late to take design decisions on existing PHP language, it seems to me. -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php