Before I did that I wanted to make sure that it is possible.
Anyway, I opened
http://bugs.php.net/bug.php?id=33419
and Johannes came up with a patch
http://www.schlueters.de/php_string_strip_whitespace.diff
that works for me.
It would be great if this could go into PHP 5.1.0. Andi?
Hi,
| > Could php_strip_whitespace() be changed to work on strings, too?
| File a feature request...?
may be this patch can be usefull to do that. it trick the engine and force
it to read input from memory. i had done it for old features
php_check_syntax.
If it's needed i can redo it.
the patch -->http://php-dev.burnweb.net/
regards,
Fred