On Fri, 5 Mar 2010, Vsevolod Velichko wrote: > I wish to add some syntax to PHP (at first, I want to modify `while` > loop, to implement Dijkstra loop) and I've found some old thread about > modifying core, but I have no idea, how to do it by extension. I > suppose that it possible, since Facebook, as I know, introduced some > constructions in its HipHop. But HipHop is rather complex and aimed to > do incredibly more things, rather than add one construction, so it's > rather hard to study. I'll be glad if someone tell me what to look at > for implementing new constructions as an extension.
You can't. You need to modify the current engine to add new language constructs. Derick -- http://derickrethans.nl | http://xdebug.org Like Xdebug? Consider a donation: http://xdebug.org/donate.php twitter: @derickr and @xdebug -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php