1
0
mirror of https://github.com/php/php-src.git synced 2026-03-30 04:02:19 +02:00
Files
archived-php-src/ext/opcache/tests
Nikita Popov 4c088c5da7 Handle warnings during sccp function evaluation
Some upcoming changes like https://wiki.php.net/rfc/deprecate_null_to_scalar_internal_arg
will make it somewhat inconvenient to determine whether a given
function invocation will generate a diagnostic. Rather than trying
to exclude this in advance, call the function with diagnostics
suppressed, and check whether anything was thrown.

This adds a new EG flag that is kept specific to the SCCP use-case.
This does not use the error_cb hook as it is a (non-TLS) global,
and doesn't fully suppress error handling besides.

Test this by removing the in advance checks for implode and array_flip.
2021-02-11 12:36:35 +01:00
..
2020-02-03 22:52:20 +01:00
2019-07-01 17:21:16 +02:00
2015-06-20 09:35:02 +02:00
2020-02-03 22:52:20 +01:00
2013-11-26 12:13:42 +04:00
2020-10-30 17:29:33 +01:00
2020-02-03 22:52:20 +01:00
2016-02-28 11:53:21 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2015-05-22 11:50:55 +08:00
2020-02-03 22:52:20 +01:00
2019-07-01 17:21:16 +02:00
2019-07-01 17:21:16 +02:00
2020-02-03 22:52:20 +01:00
2019-07-01 17:21:16 +02:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2019-07-01 17:21:16 +02:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2019-07-01 17:21:16 +02:00
2019-07-01 17:21:16 +02:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2019-07-01 17:21:16 +02:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2019-07-01 17:21:16 +02:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2019-07-01 17:21:16 +02:00
2019-07-01 17:21:16 +02:00
2017-12-16 21:24:26 +01:00
2020-02-03 22:52:20 +01:00
2017-12-16 22:04:18 +01:00
2020-02-03 22:52:20 +01:00
2019-07-01 17:21:16 +02:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2019-07-01 17:21:16 +02:00
2021-01-19 15:28:15 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2019-07-01 17:21:16 +02:00
2020-02-03 22:52:20 +01:00
2019-07-01 17:21:16 +02:00
2020-02-03 22:52:20 +01:00
2019-01-10 10:25:55 +01:00
2019-07-01 17:21:16 +02:00
2020-02-03 22:52:20 +01:00
2021-02-09 22:53:57 +03:00
2019-10-02 10:34:08 +02:00
2019-06-13 12:35:29 +02:00
2019-06-13 12:35:29 +02:00
2019-06-13 12:35:29 +02:00
2020-09-18 14:28:32 +02:00
2020-05-20 09:50:12 +02:00
2019-07-03 10:20:07 +02:00
2019-07-29 13:02:01 +02:00
2020-03-13 11:42:07 +03:00
2020-03-13 11:42:07 +03:00
2020-02-03 22:52:20 +01:00
2020-01-30 14:55:58 +01:00
2020-05-04 14:51:18 +02:00
2020-02-03 22:52:20 +01:00
2020-03-23 17:13:57 +01:00
2019-12-10 09:00:09 +01:00
2020-07-21 15:00:33 +02:00
2019-02-20 11:22:31 +01:00
2013-09-16 14:58:18 +08:00
2019-03-15 23:36:47 +01:00
2019-02-20 11:22:31 +01:00
2019-07-01 17:21:16 +02:00
2014-02-14 17:12:52 +02:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2020-06-29 21:31:44 +02:00
2021-02-09 22:53:57 +03:00
2020-06-29 21:31:44 +02:00
2021-02-09 22:53:57 +03:00
2020-01-06 22:42:31 +01:00
2021-02-09 22:53:57 +03:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2021-02-09 22:53:57 +03:00
2019-07-05 11:00:27 +02:00
2020-02-03 22:52:20 +01:00
2019-07-05 12:20:12 +03:00
2019-07-01 17:21:16 +02:00
2019-07-01 17:21:16 +02:00
2019-07-01 17:21:16 +02:00
2019-07-01 17:21:16 +02:00
2020-02-03 22:52:20 +01:00
2019-07-01 17:21:16 +02:00
2019-07-01 17:21:16 +02:00
2020-02-03 22:52:20 +01:00
2019-07-01 17:21:16 +02:00
2019-07-01 17:21:16 +02:00