Hi,
I'm using the CLI SAPI of PHP to create ncurses programs. All works fine
instead of debugging, since most PHP debuggers are not compatible to CLI.
The worst is, that after calling ncurses_init() any error or warning printed
out by PHP goes to nowhere, since ncurses seems to block any output to
STDERR.
I tried redirecting STDERR with "script.php 2> err.txt", but this does'nt
work.
Any ideas?
Thanks a lot,
Volker
I'm using the CLI SAPI of PHP to create ncurses programs. All works fine
instead of debugging, since most PHP debuggers are not compatible to CLI.
The worst is, that after calling ncurses_init() any error or warning printed
out by PHP goes to nowhere, since ncurses seems to block any output to
STDERR.
I tried redirecting STDERR with "script.php 2> err.txt", but this does'nt
work.
Any ideas?
Thanks a lot,
Volker
Comment