Hello Wez,
Sunday, July 18, 2004, 3:43:20 AM, you wrote:
> Of course, breaking the test suite for CLI isn't the best news either;
> it relies on the output ending up in stdout.
While rewriting his patch to check for CLI he could possibly either
add a switch for CLI to error to stdout or to catch
Two technical points:
1/ You *must not* use php_stream_from_zval except within a
PHP_FUNCTION unless you really know what you're doing. Use
php_stream_from_zval_no_verify instead, and manually check to see if
you ended up with a valid stream pointer. The segfault problem you
had was because you
Hi,
while developping some shell scripts with PHP-cli I've got annoyed that PHP
sends its error messages to STDOUT instead of STDERR so I've written the
attached patch.
I see two possible problems with this patch where I'm not sure if one of the
is really critical:
- it uses the PHP STDERR c