changelog for typeerror -> argumentcounterror in PHP 7.1.0

This commit is contained in:
Peter Cowburn 2021-09-09 22:15:38 +01:00
parent 900b6a65c0
commit 36571044a0
No known key found for this signature in database
GPG key ID: 6F8594EF42B32FAB

View file

@ -29,10 +29,6 @@
A value being returned from a function does not match the
declared function return type.
</member>
<member>
An invalid number of arguments are passed
to a built-in PHP function (strict mode only).
</member>
</simplelist>
</para>
</section>
@ -70,6 +66,32 @@
<!-- }}} -->
</section>
<section xml:id="typeerror.changelog" role="changelog">
&reftitle.changelog;
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>7.1.0</entry>
<entry>
A <classname>TypeError</classname> is no longer thrown when
an invalid number of arguments are passed to a built-in PHP function
in strict mode.
Instead, an <classname>ArgumentCountError</classname> is raised.
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</section>
</partintro>
</phpdoc:exceptionref>