1
0
mirror of https://github.com/php/php-src.git synced 2026-04-25 17:08:14 +02:00
Files
archived-php-src/ext
Nikita Popov 513b76794b Make zpp failures always throw, independent of strict_types
Previously zend_parse_parameters (and FastZPP) would handle invalid
arguments depending on strict_types: With strict_types=1, a TypeError
is thrown, with strict_types=0 a warning is thrown and (usually) NULL
is returned. Additionally, some functions (constructors always and
other methods sometimes) opt-it to throwing regardless of strict_types.

This commit changes zpp to always generate a TypeError exception in
PHP 8.
2019-03-11 11:32:20 +01:00
..
2019-03-11 10:01:16 +01:00
2019-03-07 20:38:04 +01:00
2019-03-11 00:07:32 -03:00
2019-03-11 13:28:04 +03:00
2019-03-11 10:01:16 +01:00
2019-03-07 20:38:04 +01:00
2019-03-07 20:38:04 +01:00
2019-03-11 10:19:50 +01:00
2019-03-07 20:38:04 +01:00
2019-03-11 10:01:16 +01:00
2019-03-07 20:38:04 +01:00
2019-03-11 00:07:32 -03:00
2019-03-11 00:07:32 -03:00
2019-03-11 10:19:50 +01:00
2019-03-11 00:05:44 -03:00
2019-03-07 20:38:04 +01:00
2019-03-07 20:38:04 +01:00
2019-03-11 00:05:44 -03:00
2019-03-07 20:38:04 +01:00
2019-03-07 20:38:04 +01:00
2019-03-11 00:07:32 -03:00
2019-03-11 10:01:16 +01:00
2019-03-07 20:38:04 +01:00
2019-03-07 20:38:04 +01:00
2019-03-11 10:01:16 +01:00
2019-03-06 13:45:13 +01:00
2019-03-11 00:05:44 -03:00
2019-03-07 20:38:04 +01:00
2019-03-07 20:38:04 +01:00
2019-03-11 00:07:32 -03:00
2019-03-07 20:38:04 +01:00
2019-03-11 00:16:36 +01:00
2019-03-07 20:38:04 +01:00