Date: 09/06/01
- Next message: Sebastian Bergmann: "[PHP-DEV] CVS Problem"
- Previous message: Please.Read.IT.Carefully!: "[PHP-DEV] ATTENTION! Well-Paid Job in the Internet!"
- In reply to: mgm <email protected>: "[PHP-DEV] Bug #13164: exit function always outputs its status"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 13164
Updated by: derick
Reported By: mgm <email protected>
Old Status: Open
Status: Analyzed
Bug Type: Scripting Engine problem
Operating System: Linux 2.2.19
PHP Version: 4.0.6
New Comment:
Indeed it does, it's a synonym for die(). I wonder if this is intentional or not.
Zeev, Andi?
Previous Comments:
------------------------------------------------------------------------
[2001-09-06 00:48:37] mgm <email protected>
The 'exit' function always outputs its exit status.
This is particularly annoying in command line scripts that need to return an error status like '1', which is printed to stdout before termination.
Surely it should not output anything. The programer always can output whatever (s)he likes before calling 'exit'.
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=13164&edit=1
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Sebastian Bergmann: "[PHP-DEV] CVS Problem"
- Previous message: Please.Read.IT.Carefully!: "[PHP-DEV] ATTENTION! Well-Paid Job in the Internet!"
- In reply to: mgm <email protected>: "[PHP-DEV] Bug #13164: exit function always outputs its status"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

