Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions appendices/migration80/incompatible.xml
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,10 @@ function test(int $arg = null) {}
Attempting to access unqualified constants which are undefined.
Previously, unqualified constant accesses resulted in a warning and were interpreted as strings.
</member>
<member>
Passing the wrong number of arguments to a non-variadic built-in
function will throw an <classname>ArgumentCountError</classname>.
</member>
</simplelist>
</para>
<para>
Expand Down
4 changes: 4 additions & 0 deletions language/predefined/argumentcounterror.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
<ooclass><classname>ArgumentCountError</classname></ooclass> is thrown
when too few arguments are passed to a user-defined function or method.
</para>
<para>
This error is also thrown when too many arguments are passed to a
non-variadic built-in function.
</para>
</section>
<!-- }}} -->

Expand Down