Skip to content

Commit b781a55

Browse files
committed
fixed tests due to opcache incompatibility
1 parent 1e3d804 commit b781a55

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/tests/appserver_001.phpt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@ appserver: remove exactly one function by ini setting
44
Johann Zelger <jz [at] techdivision [dot] com>
55
--INI--
66
appserver.remove_functions=strlen
7+
opcache.enable=0
8+
opcache.enable_cli=0
79
--FILE--
810
<?php
9-
1011
function strlen() {
1112
return "custom_" . __FUNCTION__;
1213
}

src/tests/appserver_002.phpt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@ appserver: remove more functions by ini setting
33
--CREDITS--
44
Johann Zelger <jz [at] techdivision [dot] com>
55
--INI--
6+
opcache.enable=0
7+
opcache.enable_cli=0
68
appserver.remove_functions=strlen,headers_sent
79
--FILE--
810
<?php
9-
1011
function strlen($string) {
1112
return "custom_" . __FUNCTION__ . ":" . $string;
1213
}

0 commit comments

Comments
 (0)