Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- ncurses and error output
- Volker Kamp
January 27, 2005, 11:01 pm
rate this thread
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
I tried redirecting STDERR with "script.php 2> err.txt", but this does'nt
Thanks a lot,
Re: ncurses and error output
Write your own error handler - it can't cope with parse errors, but you can
use 'php -l' for that. See