I think what I'm asking is this:
- To make PHP understand
$a=<div>{$stuff}</div>
one must alter the PHP parser
- The above can not be done in a PHP extension or even a Zend extension. To introduce new syntax one has to modify the Zend Engine.
- XHP does (1) as a simple extension !
What am I missing ?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…