php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #63044 Documentation is wrong at "return value"
Submitted: 2012-09-08 08:42 UTC Modified: 2012-09-10 01:58 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:0 (0.0%)
From: jordanoszki at gmail dot com Assigned: aharvey (profile)
Status: Closed Package: Documentation problem
PHP Version: 5.4.6 OS:
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: jordanoszki at gmail dot com
New email:
PHP Version: OS:

 

 [2012-09-08 08:42 UTC] jordanoszki at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/function.session-register-shutdown#refsect1-
function.session-register-shutdown-returnvalues
---

The documentation section 'Description' and 'Return Value' is not the same. At 
"Return Value" is: TRUE on success or FALSE on failure. 

But actual result is: No value is returned. 

Test script:
---------------
<?php

session_start();
session_commit();
echo session_register_shutdown(); // nothing

Actual result:
--------------
Return Value

No value is returned.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-09-10 01:58 UTC] aharvey@php.net
Automatic comment from SVN on behalf of aharvey
Revision: http://svn.php.net/viewvc/?view=revision&amp;revision=327572
Log: Fix doc bug #63044 (Documentation is wrong at &quot;return value&quot;).
 [2012-09-10 01:58 UTC] aharvey@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.


 [2012-09-10 01:58 UTC] aharvey@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: aharvey
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Oct 08 00:00:02 2026 UTC