diff options
Diffstat (limited to 'src/tests/disable_function/disabled_function_local_var_5.phpt')
| -rw-r--r-- | src/tests/disable_function/disabled_function_local_var_5.phpt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tests/disable_function/disabled_function_local_var_5.phpt b/src/tests/disable_function/disabled_function_local_var_5.phpt index 602e96e..431bbf9 100644 --- a/src/tests/disable_function/disabled_function_local_var_5.phpt +++ b/src/tests/disable_function/disabled_function_local_var_5.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(); |
| @@ -24,11 +24,11 @@ test(); | |||
| 24 | Value of a: | 24 | Value of a: |
| 25 | array(0) { | 25 | array(0) { |
| 26 | } | 26 | } |
| 27 | 2 | 27 | ID |
| 28 | Value of a: | 28 | Value of a: |
| 29 | object(stdClass)#1 (1) { | 29 | object(stdClass)#1 (1) { |
| 30 | ["zxc"]=> | 30 | ["zxc"]=> |
| 31 | string(16) "not a good value" | 31 | string(16) "not a good value" |
| 32 | } | 32 | } |
| 33 | 33 | ||
| 34 | Fatal error: [snuffleupagus][disabled_function] Aborted execution on call of the function 'strlen' in %a/disabled_function_local_var_5.php on line 3 \ No newline at end of file | 34 | Fatal error: [snuffleupagus][disabled_function] Aborted execution on call of the function 'strtoupper' in %a/disabled_function_local_var_5.php on line 3 |
