xref: /PHP-8.1/ext/opcache/tests/preload_013.phpt (revision e9f783fc)
1--TEST--
2Nested function definition
3--INI--
4opcache.enable=1
5opcache.enable_cli=1
6opcache.optimization_level=-1
7opcache.preload={PWD}/preload_nested_function.inc
8opcache.interned_strings_buffer=0
9--EXTENSIONS--
10opcache
11--SKIPIF--
12<?php
13if (PHP_OS_FAMILY == 'Windows') die('skip Preloading is not supported on Windows');
14?>
15--FILE--
16<?php
17test();
18test2();
19?>
20===DONE===
21--EXPECT--
22===DONE===
23