preload_013.phpt 391 B

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