mirror of
https://github.com/php/php-src.git
synced 2026-04-26 17:38:14 +02:00
01a280a9c7
1. zend_accel_error was only executing clean up if log_verbosity_level is high enough to log
2. Cleaned up kill_all_lockers function and fixed comments.
(cherry picked from commit bcee2fdbec)
20 lines
517 B
PHP
20 lines
517 B
PHP
--TEST--
|
|
Test ACCEL_LOG_FATAL will cause the process to die even if not logged
|
|
--DESCRIPTION--
|
|
This test forces the opcache to error by setting memory_comsumption very large.
|
|
The resulting ACCEL_LOG_FATAL should cause php to die.
|
|
The process should die regardless of the log_verbosity_level.
|
|
--INI--
|
|
opcache.enable=1
|
|
opcache.enable_cli=1
|
|
opcache.memory_consumption=999999999
|
|
opcache.log_verbosity_level=-1
|
|
--SKIPIF--
|
|
<?php require_once('skipif.inc'); ?>
|
|
--FILE--
|
|
<?php
|
|
var_dump("Script should fail");
|
|
?>
|
|
--EXPECTF--
|
|
|