summaryrefslogtreecommitdiff
path: root/src/tests/disable_function/disabled_function_local_var_const.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/disable_function/disabled_function_local_var_const.phpt')
-rw-r--r--src/tests/disable_function/disabled_function_local_var_const.phpt3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tests/disable_function/disabled_function_local_var_const.phpt b/src/tests/disable_function/disabled_function_local_var_const.phpt
index a0912d9..1a2767b 100644
--- a/src/tests/disable_function/disabled_function_local_var_const.phpt
+++ b/src/tests/disable_function/disabled_function_local_var_const.phpt
@@ -2,6 +2,7 @@
2Disable functions - match on a constant 2Disable functions - match on a constant
3--SKIPIF-- 3--SKIPIF--
4<?php if (!extension_loaded("snuffleupagus")) print "skip"; ?> 4<?php if (!extension_loaded("snuffleupagus")) print "skip"; ?>
5<?php if (PHP_VERSION_ID >= 80000) print "skip"; ?>
5--INI-- 6--INI--
6sp.configuration_file={PWD}/config/disabled_function_local_var_const.ini 7sp.configuration_file={PWD}/config/disabled_function_local_var_const.ini
7--FILE-- 8--FILE--
@@ -11,4 +12,4 @@ define("MY_CONST", $a);
11strtoupper("test"); 12strtoupper("test");
12?> 13?>
13--EXPECTF-- 14--EXPECTF--
14Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'strtoupper' in %a/disabled_function_local_var_const.php on line 4 \ No newline at end of file 15Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'strtoupper' in %a/disabled_function_local_var_const.php on line 4