diff options
Diffstat (limited to 'src/tests/disable_function/disabled_function_local_var.phpt')
| -rw-r--r-- | src/tests/disable_function/disabled_function_local_var.phpt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tests/disable_function/disabled_function_local_var.phpt b/src/tests/disable_function/disabled_function_local_var.phpt index 99b2b08..58dc2ea 100644 --- a/src/tests/disable_function/disabled_function_local_var.phpt +++ b/src/tests/disable_function/disabled_function_local_var.phpt | |||
| @@ -8,7 +8,7 @@ sp.configuration_file={PWD}/config/disabled_function_local_var.ini | |||
| 8 | <?php | 8 | <?php |
| 9 | $a = 1338; | 9 | $a = 1338; |
| 10 | function test(){ | 10 | function test(){ |
| 11 | echo strlen("id") . "\n"; | 11 | echo strtoupper("id") . "\n"; |
| 12 | } | 12 | } |
| 13 | echo "Value of a: $a\n"; | 13 | echo "Value of a: $a\n"; |
| 14 | test(); | 14 | test(); |
| @@ -19,7 +19,7 @@ test(); | |||
| 19 | ?> | 19 | ?> |
| 20 | --EXPECTF-- | 20 | --EXPECTF-- |
| 21 | Value of a: 1338 | 21 | Value of a: 1338 |
| 22 | 2 | 22 | ID |
| 23 | Value of a: 1337 | 23 | Value of a: 1337 |
| 24 | 24 | ||
| 25 | Fatal error: [snuffleupagus][disabled_function] Aborted execution on call of the function 'strlen' in %a/disabled_function_local_var.php on line 4 \ No newline at end of file | 25 | Fatal error: [snuffleupagus][disabled_function] Aborted execution on call of the function 'strtoupper' in %a/disabled_function_local_var.php on line 4 |
