diff options
Diffstat (limited to 'src/tests/disable_function/disabled_function_local_var_3.phpt')
| -rw-r--r-- | src/tests/disable_function/disabled_function_local_var_3.phpt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tests/disable_function/disabled_function_local_var_3.phpt b/src/tests/disable_function/disabled_function_local_var_3.phpt index 597be1d..6399a1e 100644 --- a/src/tests/disable_function/disabled_function_local_var_3.phpt +++ b/src/tests/disable_function/disabled_function_local_var_3.phpt | |||
| @@ -7,7 +7,7 @@ sp.configuration_file={PWD}/config/disabled_function_local_var.ini | |||
| 7 | --FILE-- | 7 | --FILE-- |
| 8 | <?php | 8 | <?php |
| 9 | function test(){ | 9 | function test(){ |
| 10 | echo strlen("id") . "\n"; | 10 | echo strtoupper("id") . "\n"; |
| 11 | } | 11 | } |
| 12 | 12 | ||
| 13 | $a = Array(); | 13 | $a = Array(); |
| @@ -31,7 +31,7 @@ array(2) { | |||
| 31 | [123]=> | 31 | [123]=> |
| 32 | string(3) "nop" | 32 | string(3) "nop" |
| 33 | } | 33 | } |
| 34 | 2 | 34 | ID |
| 35 | Value of a: | 35 | Value of a: |
| 36 | array(2) { | 36 | array(2) { |
| 37 | ["qwe"]=> | 37 | ["qwe"]=> |
| @@ -43,4 +43,4 @@ array(2) { | |||
| 43 | } | 43 | } |
| 44 | } | 44 | } |
| 45 | 45 | ||
| 46 | Fatal error: [snuffleupagus][disabled_function] Aborted execution on call of the function 'strlen' in %a/disabled_function_local_var_3.php on line 3 \ No newline at end of file | 46 | Fatal error: [snuffleupagus][disabled_function] Aborted execution on call of the function 'strtoupper' in %a/disabled_function_local_var_3.php on line 3 |
