Could php_strip_whitespace()
be changed to work on strings, too?
--
Sebastian Bergmann http://www.sebastian-bergmann.de/
GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69
Could
php_strip_whitespace()
be changed to work on strings, too?
File a feature request...?
Derick
--
Derick Rethans
http://derickrethans.nl | http://ez.no | http://xdebug.org
Derick Rethans schrieb:
File a feature request...?
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?
--
Sebastian Bergmann http://www.sebastian-bergmann.de/
GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69
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