ID: 13164
Updated by: derick
Reported By: [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] [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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to