Yeah, I wrote that code.
I'm a little fuzzy on the original thinking, but think about something
like this:
abc foo ?echo ?; duh()? def bar
This should, and does, strip down to:
abc def
If you got rid of the quote parsing, how do you know not to end the php
tag at the ? inside the
Ok that makes a little more sence.
But instead of re-inventing the parser how about we do something with
the builtin parser. I'll try to hack up something.
- brad
--- Rasmus Lerdorf [EMAIL PROTECTED] wrote:
Yeah, I wrote that code.
I'm a little fuzzy on the original thinking, but think
Is any developer familiar with php_strip_tags? I was looking into but 7472 and
php_strip_tags seems like its keeping track of 's and changing the state
according to 's. From what I can tell the state machine shouldn't need to
worry about 's, but I might be missing something obvious tho.