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