From: nathan at nightsys dot net Operating system: Linux 2.4.26 (Gentoo) PHP version: 5.0.0RC3 PHP Bug Type: Output Control Bug description: CLI returns an extra carriage return after exits.
Description: ------------ CLI executable returns an extra carriage return after exit, example below. Linux nathan1 2.4.26-gentoo-r4 #1 SMP Fri Jul 9 12:42:20 EST 2004 i686 Intel(R) Pentium(R) 4 CPU 2.00GHz GenuineIntel GNU/Linux Dont know if the kernel upgrade (from 2.4.25) could have affected this. Reproduce code: --------------- /usr/local/php/bin/php -v Expected result: ---------------- [EMAIL PROTECTED] nathan $ /usr/local/php/bin/php -v PHP 5.0.0RC3 (cli) (built: Jul 1 2004 14:52:38) Copyright (c) 1997-2004 The PHP Group Zend Engine v2.0.0RC3, Copyright (c) 1998-2004 Zend Technologies [EMAIL PROTECTED] nathan $ Actual result: -------------- [EMAIL PROTECTED] nathan $ /usr/local/php/bin/php -v PHP 5.0.0RC3 (cli) (built: Jul 1 2004 14:52:38) Copyright (c) 1997-2004 The PHP Group Zend Engine v2.0.0RC3, Copyright (c) 1998-2004 Zend Technologies [EMAIL PROTECTED] nathan $ [EMAIL PROTECTED] nathan $ -- Edit bug report at http://bugs.php.net/?id=29071&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=29071&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=29071&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=29071&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=29071&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=29071&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=29071&r=needscript Try newer version: http://bugs.php.net/fix.php?id=29071&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=29071&r=support Expected behavior: http://bugs.php.net/fix.php?id=29071&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=29071&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=29071&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=29071&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29071&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=29071&r=dst IIS Stability: http://bugs.php.net/fix.php?id=29071&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=29071&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=29071&r=float