php.net |  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
Description:
------------
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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-04-23 11:33 UTC] aharvey@php.net
-Status: Open +Status: Feedback
 [2010-04-23 11:33 UTC] aharvey@php.net
Please try using this snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/
 [2010-04-23 11:37 UTC] aharvey@php.net
-Status: Feedback +Status: Open
 [2010-04-23 11:37 UTC] aharvey@php.net
Sorry, disregard that. I think that was a case of post-Friday-afternoon-drinks misclicking.
 [2010-04-23 11:57 UTC] rquadling@php.net
Automatic comment from SVN on behalf of rquadling
Revision: http://svn.php.net/viewvc/?view=revision&revision=298371
Log: Integer exit statuses are not printed. Fix bug#51644
 [2010-04-23 11:58 UTC] rquadling@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: rquadling
 [2010-04-23 11:58 UTC] rquadling@php.net
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
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 16:01:28 2024 UTC