#29071 [Opn->Bgs]: CLI returns an extra carriage return after exits.
| From: | derick@php.net | Date: | Fri, 09 Jul 2004 07:13:27 +0000 |
| Subject: | #29071 [Opn->Bgs]: CLI returns an extra carriage return after exits. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-61949@lists.php.net to get a copy of this message | ||
ID: 29071
Updated by: derick@php.net
Reported By: nathan at nightsys dot net
-Status: Open
+Status: Bogus
Bug Type: Output Control
Operating System: Linux 2.4.26 (Gentoo)
PHP Version: 5.0.0RC3
New Comment:
It's definiteley not caused by PHP, because if PHP would have outputted
an extra new line it would have looked like this:
nathan@nathan1 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
nathan@nathan1 nathan $
Previous Comments:
------------------------------------------------------------------------
[2004-07-09 07:13:20] nathan at nightsys dot net
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:
----------------
nathan@nathan1 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
nathan@nathan1 nathan $
Actual result:
--------------
nathan@nathan1 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
nathan@nathan1 nathan $
nathan@nathan1 nathan $
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=29071&edit=1