log_verbosity_bug.phpt 571 B

1234567891011121314151617181920
  1. --TEST--
  2. Test ACCEL_LOG_FATAL will cause the process to die even if not logged
  3. --DESCRIPTION--
  4. This test forces the opcache to error by setting memory_comsumption very large.
  5. The resulting ACCEL_LOG_FATAL should cause php to die.
  6. The process should die regardless of the log_verbosity_level.
  7. --INI--
  8. opcache.enable=1
  9. opcache.enable_cli=1
  10. opcache.file_cache_only=0
  11. opcache.file_cache_fallback=0
  12. opcache.memory_consumption=999999999
  13. opcache.log_verbosity_level=-1
  14. --SKIPIF--
  15. <?php require_once('skipif.inc'); ?>
  16. --FILE--
  17. <?php
  18. var_dump("Script should fail");
  19. ?>
  20. --EXPECT--