Re: Access to syntax tree?
| From: | Jeremy | Date: | Wed, 25 Mar 2009 17:51:52 +0000 |
| Subject: | Re: Access to syntax tree? | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-43466@lists.php.net to get a copy of this message | ||
Alexey Zakhlestin wrote:
On Wed, Mar 25, 2009 at 8:13 PM, Jeremy <jeremy@pinacol.com> wrote:That looks like it should work perfectly! Thanks for pointing this out; it's almost exactly what I was after. JeremyIs there any way to access the parse tree of a PHP file from within PHP?will this work for you? http://docs.php.net/manual/en/tokenizer.examples.php