From: Nikita Popov Date: Fri, 5 Jul 2019 09:00:27 +0000 (+0200) Subject: Add test X-Git-Tag: php-7.4.0alpha3~36 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=24ecfcc8339d0158d5cd209b8737d8d764703ded;p=php Add test Forgot to commit this. --- diff --git a/ext/opcache/tests/preload_013.phpt b/ext/opcache/tests/preload_013.phpt new file mode 100644 index 0000000000..f6387c08e1 --- /dev/null +++ b/ext/opcache/tests/preload_013.phpt @@ -0,0 +1,18 @@ +--TEST-- +Nested function definition +--INI-- +opcache.enable=1 +opcache.enable_cli=1 +opcache.optimization_level=-1 +opcache.preload={PWD}/preload_nested_function.inc +opcache.interned_strings_buffer=0 +--SKIPIF-- + +--FILE-- + +===DONE=== +--EXPECT-- +===DONE=== diff --git a/ext/opcache/tests/preload_nested_function.inc b/ext/opcache/tests/preload_nested_function.inc new file mode 100644 index 0000000000..534e81348d --- /dev/null +++ b/ext/opcache/tests/preload_nested_function.inc @@ -0,0 +1,7 @@ +