forked from php/php-src
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed bug in zend_accel_error() and cleaned up kill_all_lockers()
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 bcee2fd)
- Loading branch information
1 parent
f40c031
commit 01a280a
Showing
3 changed files
with
75 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--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-- | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters