diff options
Diffstat (limited to 'src/tests/disabled_functions_param_alias.phpt')
| -rw-r--r-- | src/tests/disabled_functions_param_alias.phpt | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/tests/disabled_functions_param_alias.phpt b/src/tests/disabled_functions_param_alias.phpt deleted file mode 100644 index 9c249d9..0000000 --- a/src/tests/disabled_functions_param_alias.phpt +++ /dev/null | |||
| @@ -1,13 +0,0 @@ | |||
| 1 | --TEST-- | ||
| 2 | Disable functions - alias | ||
| 3 | --SKIPIF-- | ||
| 4 | <?php if (!extension_loaded("snuffleupagus")) die "skip"; ?> | ||
| 5 | --INI-- | ||
| 6 | sp.configuration_file={PWD}/config/config_disabled_functions_param_alias.ini | ||
| 7 | --FILE-- | ||
| 8 | <?php | ||
| 9 | system("id"); | ||
| 10 | shell_exec("id"); | ||
| 11 | ?> | ||
| 12 | --EXPECTF-- | ||
| 13 | Fatal error: [snuffleupagus][disabled_function] Aborted execution on call of the function 'system', because of the the rule '1' in %a/disabled_functions_param_alias.php on line 2 \ No newline at end of file | ||
