Forgot to commit this.
This commit is contained in:
Nikita Popov 2019-07-05 11:00:27 +02:00
parent ea43624972
commit 24ecfcc833
2 changed files with 25 additions and 0 deletions

View File

@ -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--
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
test();
test2();
?>
===DONE===
--EXPECT--
===DONE===

View File

@ -0,0 +1,7 @@
<?php
function test()
{
function test2() { }
}