diff options
Diffstat (limited to 'src/tests/disabled_functions_ret_val_dump.phpt')
| -rw-r--r-- | src/tests/disabled_functions_ret_val_dump.phpt | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/tests/disabled_functions_ret_val_dump.phpt b/src/tests/disabled_functions_ret_val_dump.phpt deleted file mode 100644 index 9fff77b..0000000 --- a/src/tests/disabled_functions_ret_val_dump.phpt +++ /dev/null | |||
| @@ -1,23 +0,0 @@ | |||
| 1 | --TEST-- | ||
| 2 | Disable functions ret val - dump | ||
| 3 | --SKIPIF-- | ||
| 4 | <?php if (!extension_loaded("snuffleupagus")) die "skip"; ?> | ||
| 5 | --INI-- | ||
| 6 | sp.configuration_file={PWD}/config/disabled_functions_retval_dump.ini | ||
| 7 | --ENV-- | ||
| 8 | DOCUMENT_ROOT=a | ||
| 9 | --POST-- | ||
| 10 | post_a=data_post_a&post_b=data_post_b | ||
| 11 | --GET-- | ||
| 12 | get_a=data_get_a&get_b=data_get_b | ||
| 13 | --COOKIE-- | ||
| 14 | cookie_a=data_cookie_a&cookie_b=data_cookie_b | ||
| 15 | --FILE-- | ||
| 16 | <?php | ||
| 17 | echo str_repeat("fufu",1)."\n"; | ||
| 18 | echo str_repeat("fufufu",1); | ||
| 19 | ?> | ||
| 20 | --EXPECTF-- | ||
| 21 | fufu | ||
| 22 | |||
| 23 | Fatal error: [snuffleupagus][disabled_function] Aborted execution on return of the function 'str_repeat', because the function returned 'fufufu', which matched a rule in %a/src/tests/disabled_functions_ret_val_dump.php on line 3 \ No newline at end of file | ||
