diff options
Diffstat (limited to 'src/tests/disable_function/disabled_function_local_var_10.phpt')
| -rw-r--r-- | src/tests/disable_function/disabled_function_local_var_10.phpt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tests/disable_function/disabled_function_local_var_10.phpt b/src/tests/disable_function/disabled_function_local_var_10.phpt index 4902972..e50a5a4 100644 --- a/src/tests/disable_function/disabled_function_local_var_10.phpt +++ b/src/tests/disable_function/disabled_function_local_var_10.phpt | |||
| @@ -8,10 +8,10 @@ sp.configuration_file={PWD}/config/disabled_function_local_var.ini | |||
| 8 | <?php | 8 | <?php |
| 9 | $qwe = Array('123' => Array('qwe'), '456' => Array('no block this')); | 9 | $qwe = Array('123' => Array('qwe'), '456' => Array('no block this')); |
| 10 | var_dump($qwe); | 10 | var_dump($qwe); |
| 11 | strlen("qwe"); | 11 | strtoupper("qwe"); |
| 12 | $qwe = Array('123' => Array('qwe'), '456' => Array(Array('block this'))); | 12 | $qwe = Array('123' => Array('qwe'), '456' => Array(Array('block this'))); |
| 13 | var_dump($qwe); | 13 | var_dump($qwe); |
| 14 | strlen("qwe"); | 14 | strtoupper("qwe"); |
| 15 | ?> | 15 | ?> |
| 16 | --EXPECTF-- | 16 | --EXPECTF-- |
| 17 | array(2) { | 17 | array(2) { |
| @@ -42,4 +42,4 @@ array(2) { | |||
| 42 | } | 42 | } |
| 43 | } | 43 | } |
| 44 | 44 | ||
| 45 | Fatal error: [snuffleupagus][disabled_function] Aborted execution on call of the function 'strlen' in %a/disabled_function_local_var_10.php on line 7 \ No newline at end of file | 45 | Fatal error: [snuffleupagus][disabled_function] Aborted execution on call of the function 'strtoupper' in %a/disabled_function_local_var_10.php on line 7 \ No newline at end of file |
