php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #73194 Missing arguments throw ArgumentCountError since 7.1.0RC1
Submitted: 2016-09-28 09:30 UTC Modified: 2016-09-28 14:01 UTC
From: mhujer at gmail dot com Assigned: cmb (profile)
Status: Closed Package: Documentation problem
PHP Version: 7.1.0RC2 OS:
Private report: No CVE-ID: None
 [2016-09-28 09:30 UTC] 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


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-09-28 14:01 UTC] 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 14:01 UTC] cmb@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: cmb
 [2016-09-28 14:01 UTC] cmb@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.
 [2016-10-01 20:29 UTC] jeremiahpayne883 at icloud dot com
Help my Ex girl friend had been using my account to sell herself on the internet. And had caused problems with my school account. Her names is tamira marshall McClure 
It has been almost two years that she has been selling her self or services and I'm tired of not being able to get her accoustuff off my page I don't want to be contacted back her information 
Is 
Listed 
TAMIRA.mashall1@gmail.
Telephone 
4178941506 she has my account seized jeremiahpayne0530@gmail.com help me please anonymous
 [2020-02-07 06:06 UTC] phpdocbot@php.net
Automatic comment on behalf of cmb
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=b42c900cbfbe77bc3132592822d55f09e54f8e86
Log: Fix #73194: Missing arguments throw ArgumentCountError since 7.1.0RC1
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Oct 07 13:00:02 2026 UTC