bug74663.phpt 497 B

1234567891011121314151617181920212223242526
  1. --TEST--
  2. Bug #74663 (Segfault with opcache.memory_protect and validate_timestamp)
  3. --INI--
  4. opcache.enable=1
  5. opcache.enable_cli=1
  6. opcache.file_update_protection=0
  7. opcache.enable_file_override=1
  8. opcache.validate_timestamps=1
  9. opcache.revalidate_freq=0
  10. opcache.protect_memory=1
  11. --EXTENSIONS--
  12. opcache
  13. --FILE--
  14. <?php
  15. $file = __DIR__ . "/bug74663.inc";
  16. file_put_contents($file, "");
  17. include $file;
  18. var_dump(is_file($file));
  19. ?>
  20. --CLEAN--
  21. <?php
  22. unlink(__DIR__ . "/bug74663.inc");
  23. ?>
  24. --EXPECT--
  25. bool(true)