Bug #71107 [NEW]: Some document problems
| From: | laruence@php.net | Date: | Sun, 13 Dec 2015 08:23:52 +0000 |
| Subject: | Bug #71107 [NEW]: Some document problems | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-12931@lists.php.net to get a copy of this message | ||
From: laruence
Operating system:
PHP version: 7.0.0
Package: Documentation problem
Bug Type: Bug
Bug description:Some document problems
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 bug report at https://bugs.php.net/bug.php?id=71107&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=71107&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=71107&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=71107&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=71107&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=71107&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=71107&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=71107&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=71107&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=71107&r=support
Expected behavior: https://bugs.php.net/fix.php?id=71107&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=71107&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=71107&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=71107&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=71107&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=71107&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=71107&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=71107&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=71107&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=71107&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=71107&r=mysqlcfg