News for hackers. Stuff that matters.
Re:What PHP 5.5 might look like by pbiggar on Thursday July 12, 2012 @01:02PM (#4235465)
Yeah, there's tons of special cases in the parser. I worked on phc (http://phpcompiler.org), so I've read the PHP parser and helped write some of our own. We took the AST approach and it worked out pretty well. But PHP was written before its authors knew good interpreter design, and its currently very hard to refactor it out to a better design.
Re:What PHP 5.5 might look like by mikeash on Thursday July 12, 2012 @02:19PM (#4235853)
Painful. Thanks for sharing your experience. Cool to ask such a question and get an answer from someone who's actually built something related.