diff options
Diffstat (limited to 'src/tests/disable_function/disabled_function_super_global_var.phpt')
| -rw-r--r-- | src/tests/disable_function/disabled_function_super_global_var.phpt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tests/disable_function/disabled_function_super_global_var.phpt b/src/tests/disable_function/disabled_function_super_global_var.phpt index d97194a..196d9e2 100644 --- a/src/tests/disable_function/disabled_function_super_global_var.phpt +++ b/src/tests/disable_function/disabled_function_super_global_var.phpt | |||
| @@ -9,13 +9,13 @@ bla=test | |||
| 9 | --FILE-- | 9 | --FILE-- |
| 10 | <?php | 10 | <?php |
| 11 | function test(){ | 11 | function test(){ |
| 12 | echo strlen($_GET['bla']) . "\n"; | 12 | echo strtoupper($_GET['bla']) . "\n"; |
| 13 | } | 13 | } |
| 14 | test(); | 14 | test(); |
| 15 | $_GET['bla'] = 'test2'; | 15 | $_GET['bla'] = 'test2'; |
| 16 | test(); | 16 | test(); |
| 17 | ?> | 17 | ?> |
| 18 | --EXPECTF-- | 18 | --EXPECTF-- |
| 19 | 4 | 19 | TEST |
| 20 | 20 | ||
| 21 | Fatal error: [snuffleupagus][disabled_function] Aborted execution on call of the function 'strlen' in %a/disabled_function_super_global_var.php on line 3 | 21 | Fatal error: [snuffleupagus][disabled_function] Aborted execution on call of the function 'strtoupper' in %a/disabled_function_super_global_var.php on line 3 |
