diff options
Diffstat (limited to 'src/tests/disabled_functions_regexp_multiple.phpt')
| -rw-r--r-- | src/tests/disabled_functions_regexp_multiple.phpt | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/tests/disabled_functions_regexp_multiple.phpt b/src/tests/disabled_functions_regexp_multiple.phpt deleted file mode 100644 index 79f1fc7..0000000 --- a/src/tests/disabled_functions_regexp_multiple.phpt +++ /dev/null | |||
| @@ -1,19 +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/disabled_functions_regexp.ini | ||
| 7 | --FILE-- | ||
| 8 | <?php | ||
| 9 | echo strlen("id") . "\n"; | ||
| 10 | echo strcmp("1", "2") . "\n"; | ||
| 11 | print("After") . "\n"; | ||
| 12 | ?> | ||
| 13 | --EXPECTF-- | ||
| 14 | Warning: [snuffleupagus][disabled_function] Aborted execution on call of the function 'strlen' in %a/disabled_functions_regexp_multiple.php on line 2 | ||
| 15 | 2 | ||
| 16 | |||
| 17 | Warning: [snuffleupagus][disabled_function] Aborted execution on call of the function 'strcmp' in %a/disabled_functions_regexp_multiple.php on line 3 | ||
| 18 | -1 | ||
| 19 | After \ No newline at end of file | ||
