|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #51644 exit() documentation - incorrect wording
Submitted: 2010-04-23 11:26 UTC Modified: 2010-04-23 11:58 UTC
From: deceze at gmail dot com Assigned: rquadling (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
 [2010-04-23 11:26 UTC] deceze at gmail dot com
In the documentation for exit(), section "Parameters":

"If status is an integer, that value will also be used as the exit status."

This should read:

"If status is an integer, that value will be used as the exit status."

It will not "also" be used, it will exclusively be used for the exit status and 
not print anything to screen.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2010-04-23 11:33 UTC]
-Status: Open +Status: Feedback
 [2010-04-23 11:33 UTC]
Please try using this snapshot:
For Windows:
 [2010-04-23 11:37 UTC]
-Status: Feedback +Status: Open
 [2010-04-23 11:37 UTC]
Sorry, disregard that. I think that was a case of post-Friday-afternoon-drinks misclicking.
 [2010-04-23 11:57 UTC]
Automatic comment from SVN on behalf of rquadling
Log: Integer exit statuses are not printed. Fix bug#51644
 [2010-04-23 11:58 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: rquadling
 [2010-04-23 11:58 UTC]
This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
Thank you for the report, and for helping us make PHP better.
PHP Copyright © 2001-2018 The PHP Group
All rights reserved.
Last updated: Sun Nov 19 01:31:42 2017 UTC