ucall_002.phpt 312 B

123456789101112131415161718192021
  1. --TEST--
  2. JIT UCALL: 002
  3. --INI--
  4. opcache.enable=1
  5. opcache.enable_cli=1
  6. opcache.file_update_protection=0
  7. opcache.jit_buffer_size=32M
  8. ;opcache.jit_debug=257
  9. --EXTENSIONS--
  10. opcache
  11. --FILE--
  12. <?php
  13. function foo() {
  14. var_dump("hello");
  15. }
  16. foo();
  17. var_dump("world!");
  18. ?>
  19. --EXPECT--
  20. string(5) "hello"
  21. string(6) "world!"