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.

Isnt that what we have ext/tokenizer for?

Wouldn't that be relatively slow?

Also there's the psychological difference between being presented with a binary and being presented with a script (but then again I suppose you could argue that there's nothing to prevent the embed SAPI coming into play)...

- Steph
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to