summaryrefslogtreecommitdiff
path: root/src/tests/disable_function/disabled_functions_ret2.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/disable_function/disabled_functions_ret2.phpt')
-rw-r--r--src/tests/disable_function/disabled_functions_ret2.phpt3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tests/disable_function/disabled_functions_ret2.phpt b/src/tests/disable_function/disabled_functions_ret2.phpt
index 8070b08..ede465d 100644
--- a/src/tests/disable_function/disabled_functions_ret2.phpt
+++ b/src/tests/disable_function/disabled_functions_ret2.phpt
@@ -2,6 +2,7 @@
2Disable functions check on `ret`. 2Disable functions check on `ret`.
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_functions_ret.ini 7sp.configuration_file={PWD}/config/disabled_functions_ret.ini
7--FILE-- 8--FILE--
@@ -9,4 +10,4 @@ sp.configuration_file={PWD}/config/disabled_functions_ret.ini
9echo stripos("pouet", "p"); 10echo stripos("pouet", "p");
10?> 11?>
11--EXPECTF-- 12--EXPECTF--
12Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on return of the function 'stripos', because the function returned '0', which matched a rule in %a/disabled_functions_ret2.php on line 2 \ No newline at end of file 13Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on return of the function 'stripos', because the function returned '0', which matched a rule in %a/disabled_functions_ret2.php on line 2