Re: script upgrading program was Re: [PHP-DEV] Re: Summer of Code
| From: | Lukas Smith | Date: | Sat, 15 Apr 2006 07:16:07 +0000 |
| Subject: | Re: script upgrading program was Re: [PHP-DEV] Re: Summer of Code | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-22784@lists.php.net to get a copy of this message | ||
Steph Fox wrote:
Isnt that what we have ext/tokenizer for? regards, LukasSteph Fox wrote:If you wrote something like this in PHP you'd necessarily be searching for patterns in the code. In C you'd be working with tokens directly - coding style wouldn't be an issue.I wasn't thinking of writing something in PHP... there'd be no way for userland code to 'see' half the stuff that needed changing.I was not implying it would have to. But I also do not see why it should not be possible to do it in PHP.