summaryrefslogtreecommitdiff
path: root/src/tests/disable_function/disabled_functions_ret.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/disable_function/disabled_functions_ret.phpt')
-rw-r--r--src/tests/disable_function/disabled_functions_ret.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/disable_function/disabled_functions_ret.phpt b/src/tests/disable_function/disabled_functions_ret.phpt
index ab1b263..c1f2876 100644
--- a/src/tests/disable_function/disabled_functions_ret.phpt
+++ b/src/tests/disable_function/disabled_functions_ret.phpt
@@ -1,7 +1,7 @@
1--TEST-- 1--TEST--
2Disable functions check on `ret`. 2Disable functions check on `ret`.
3--SKIPIF-- 3--SKIPIF--
4<?php if (!extension_loaded("snuffleupagus")) die "skip"; ?> 4<?php if (!extension_loaded("snuffleupagus")) print "skip"; ?>
5--INI-- 5--INI--
6sp.configuration_file={PWD}/config/disabled_functions_ret.ini 6sp.configuration_file={PWD}/config/disabled_functions_ret.ini
7--FILE-- 7--FILE--
@@ -10,4 +10,4 @@ echo strpos("pouet", "p");
10echo stripos("pouet", "p"); 10echo stripos("pouet", "p");
11?> 11?>
12--EXPECTF-- 12--EXPECTF--
13Fatal error: [snuffleupagus][0.0.0.0][disabled_function] Aborted execution on return of the function 'strpos', because the function returned '0', which matched a rule in %a/disabled_functions_ret.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 'strpos', because the function returned '0', which matched a rule in %a/disabled_functions_ret.php on line 2