(PHP 7, PHP 8)
A TypeError may be thrown when:
Version | Description |
---|---|
7.1.0 | In strict mode, passing an incorrect number of arguments to a built-in PHP function no longer results in a generic TypeError. Instead, a more specific ArgumentCountError, which extends TypeError, is thrown. |