From: Máté Kocsis Date: Thu, 22 Oct 2020 10:48:12 +0000 (+0200) Subject: Run arginfo/ZPP verification tests in strict mode as well X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a8e92e361f82fdd7485b5f7d2dc1c0ccd8edca62;p=php Run arginfo/ZPP verification tests in strict mode as well Closes GH-6370 --- diff --git a/Zend/tests/arginfo_zpp_mismatch.inc b/Zend/tests/arginfo_zpp_mismatch.inc new file mode 100644 index 0000000000..2207d76db4 --- /dev/null +++ b/Zend/tests/arginfo_zpp_mismatch.inc @@ -0,0 +1,39 @@ + +--FILE-- +newInstanceWithoutConstructor(); + } catch (Throwable) { + continue; + } + + foreach (get_class_methods($class) as $method) { + test([$obj, $method]); + } +} + +// var_dump() and debug_zval_dump() print all arguments +?> +===DONE=== +--EXPECT-- +===DONE===