diff options
Diffstat (limited to 'src/tests/disable_function/disabled_function_param.phpt')
| -rw-r--r-- | src/tests/disable_function/disabled_function_param.phpt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tests/disable_function/disabled_function_param.phpt b/src/tests/disable_function/disabled_function_param.phpt index bbf05f0..fe673d8 100644 --- a/src/tests/disable_function/disabled_function_param.phpt +++ b/src/tests/disable_function/disabled_function_param.phpt | |||
| @@ -2,6 +2,7 @@ | |||
| 2 | Disable functions - match on a param | 2 | Disable functions - match on a param |
| 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-- |
| 6 | sp.configuration_file={PWD}/config/disabled_function_param.ini | 7 | sp.configuration_file={PWD}/config/disabled_function_param.ini |
| 7 | --FILE-- | 8 | --FILE-- |
| @@ -17,4 +18,4 @@ qweqwe(Array(2)); | |||
| 17 | --EXPECTF-- | 18 | --EXPECTF-- |
| 18 | OK | 19 | OK |
| 19 | 20 | ||
| 20 | Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'qweqwe', because its argument '$asd' content (2) matched a rule in %a/disabled_function_param.php on line 3 \ No newline at end of file | 21 | Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'qweqwe', because its argument '$asd' content (2) matched a rule in %a/disabled_function_param.php on line 3 |
