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