#48275 [NEW]: write errors to STDERR, by default
From: jidanni at jidanni dot org
Operating system:
PHP version: 5.2.9
PHP Bug Type: Scripting Engine problem
Bug description: write errors to STDERR, by default
Description:
------------
I can't believe that PHP writes its error messages to STDOUT by default
instead of STDERR. (At least you don't have them BOTH reversed.)
$ php lyrics.php |colrm 77
Warning: Unexpected character in input: ''' (ASCII=39) state=1 in
Parse error: syntax error, unexpected ')' in /home/jidanni/audio/
$ php -r WRONG
Parse error: syntax error, unexpected $end in Command line code on line 1
At least on the _man page_ mention you are doing it on purpose because you
fear it will flood some log or something.
--
Edit bug report at http://bugs.php.net/?id=48275&edit=1
--
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=48275&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=48275&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=48275&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=48275&r=fixedcvs
Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=48275&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=48275&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=48275&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=48275&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=48275&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=48275&r=support
Expected behavior: http://bugs.php.net/fix.php?id=48275&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=48275&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=48275&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=48275&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=48275&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=48275&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=48275&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=48275&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=48275&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=48275&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=48275&r=mysqlcfg
Thread (4 messages)
- jidanni at jidanni dot org