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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
49 - 49 = ?
Subscribe to this entry?

 
 [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: Fri Mar 29 06:01:29 2024 UTC