diff options
Diffstat (limited to 'src/tests/disable_function/disabled_native_functions_indirect.phpt')
| -rw-r--r-- | src/tests/disable_function/disabled_native_functions_indirect.phpt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tests/disable_function/disabled_native_functions_indirect.phpt b/src/tests/disable_function/disabled_native_functions_indirect.phpt index 1539db3..df585c7 100644 --- a/src/tests/disable_function/disabled_native_functions_indirect.phpt +++ b/src/tests/disable_function/disabled_native_functions_indirect.phpt | |||
| @@ -2,6 +2,7 @@ | |||
| 2 | Disabled native functions, called indirectly | 2 | Disabled native functions, called indirectly |
| 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_functions.ini | 7 | sp.configuration_file={PWD}/config/disabled_functions.ini |
| 7 | --FILE-- | 8 | --FILE-- |
| @@ -9,4 +10,4 @@ sp.configuration_file={PWD}/config/disabled_functions.ini | |||
| 9 | array_map('system', [1,2,3,4]); | 10 | array_map('system', [1,2,3,4]); |
| 10 | ?> | 11 | ?> |
| 11 | --EXPECTF-- | 12 | --EXPECTF-- |
| 12 | Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'system' in %a/disabled_native_functions_indirect.php on line 2 \ No newline at end of file | 13 | Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'system' in %a/disabled_native_functions_indirect.php on line 2 |
