diff options
Diffstat (limited to 'src/tests/disable_function/disabled_functions_local_var_array.phpt')
| -rw-r--r-- | src/tests/disable_function/disabled_functions_local_var_array.phpt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tests/disable_function/disabled_functions_local_var_array.phpt b/src/tests/disable_function/disabled_functions_local_var_array.phpt index f9f2d36..4790148 100644 --- a/src/tests/disable_function/disabled_functions_local_var_array.phpt +++ b/src/tests/disable_function/disabled_functions_local_var_array.phpt | |||
| @@ -2,6 +2,7 @@ | |||
| 2 | Disable functions - match on an array value buried in several levels | 2 | Disable functions - match on an array value buried in several levels |
| 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/config_disabled_functions_local_var_array.ini | 7 | sp.configuration_file={PWD}/config/config_disabled_functions_local_var_array.ini |
| 7 | --FILE-- | 8 | --FILE-- |
| @@ -18,4 +19,4 @@ foo($a); | |||
| 18 | --EXPECTF-- | 19 | --EXPECTF-- |
| 19 | cccc | 20 | cccc |
| 20 | 21 | ||
| 21 | Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'foo' in %a/disabled_functions_local_var_array.php on line 3 \ No newline at end of file | 22 | Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'foo' in %a/disabled_functions_local_var_array.php on line 3 |
