Doc #73194 [Opn->Csd]: Missing arguments throw ArgumentCountError since 7.1.0RC1
| From: | cmb@php.net | Date: | Wed, 28 Sep 2016 14:01:57 +0000 |
| Subject: | Doc #73194 [Opn->Csd]: Missing arguments throw ArgumentCountError since 7.1.0RC1 | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-13951@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=73194&edit=1
ID: 73194
Updated by: cmb@php.net
Reported by: mhujer at gmail dot com
Summary: Missing arguments throw ArgumentCountError since
7.1.0RC1
-Status: Open
+Status: Closed
Type: Documentation Problem
Package: Documentation problem
PHP Version: 7.1.0RC2
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2016-09-28 14:01:30] cmb@php.net
Automatic comment from SVN on behalf of cmb
Revision: http://svn.php.net/viewvc/?view=revision&revision=340234
Log: Fix #73194: Missing arguments throw ArgumentCountError since 7.1.0RC1
------------------------------------------------------------------------
[2016-09-28 09:30:46] mhujer at gmail dot com
Description:
------------
On manual page http://www.php.net/migration71.incompatible
in section "Throw on passing too few function arguments" is stated:
The above example will output:
> Uncaught Error: Too few arguments to function test(), 0 passed in %s on line %d and exactly 1
> expected in %s:%d
But this changed in RC1 to:
> Uncaught ArgumentCountError: Too few arguments to function test(), 0 passed in %s on line %d
> and exactly 1 expected in %s:%d
See https://3v4l.org/YY17q
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=73194&edit=1