Bug #71107 [Asn->Csd]: Some document problems
| From: | tpunt@php.net | Date: | Fri, 18 Dec 2015 17:24:25 +0000 |
| Subject: | Bug #71107 [Asn->Csd]: Some document problems | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-12964@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=71107&edit=1
ID: 71107
Updated by: tpunt@php.net
Reported by: laruence@php.net
Summary: Some document problems
-Status: Assigned
+Status: Closed
Type: Bug
Package: Documentation problem
PHP Version: 7.0.0
Assigned To: tpunt
Block user comment: N
Private report: N
Previous Comments:
------------------------------------------------------------------------
[2015-12-18 17:24:13] tpunt@php.net
The mktime() and gmmktime() functions have marked the parameter as removed. It's still
referenced in the documentation for 5.x users.
The ignore_user_abort() and stream_set_blocking() functions have been rectified with the following
commit: https://svn.php.net/viewvc/?view=revision&revision=338301
------------------------------------------------------------------------
[2015-12-18 17:21:50] tpunt@php.net
Automatic comment from SVN on behalf of tpunt
Revision: http://svn.php.net/viewvc/?view=revision&revision=338301
Log: Fixes bug #71107
------------------------------------------------------------------------
[2015-12-13 08:23:49] laruence@php.net
Description:
------------
I wrote a scritp when I try to fixed problem reported in #71053
anyway, the idea is simple, the script parsed the doc declaration in phpdoc
then call the function as the declaration in strict_types,
then some doc problems showup:
//php7 require 6 parameters , but doc said 7
mktime() expects at most 6 parameters, 7 given
gmmktime() expects at most 6 parameters, 7 given
//php7 require bool , but doc said string
ignore_user_abort() expects parameter 1 to be boolean, string given
stream_set_blocking() expects parameter 2 to be boolean, integer given
Test script:
---------------
non
Expected result:
----------------
none
Actual result:
--------------
none
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=71107&edit=1