diff options
Diffstat (limited to 'src/tests/disable_function/disabled_function_local_var_7.phpt')
| -rw-r--r-- | src/tests/disable_function/disabled_function_local_var_7.phpt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/disable_function/disabled_function_local_var_7.phpt b/src/tests/disable_function/disabled_function_local_var_7.phpt index e615a80..d5c74ba 100644 --- a/src/tests/disable_function/disabled_function_local_var_7.phpt +++ b/src/tests/disable_function/disabled_function_local_var_7.phpt | |||
| @@ -8,7 +8,7 @@ sp.configuration_file={PWD}/config/disabled_function_local_var.ini | |||
| 8 | <?php | 8 | <?php |
| 9 | namespace asd { | 9 | namespace asd { |
| 10 | function test(){ | 10 | function test(){ |
| 11 | strlen("qwe"); | 11 | strtoupper("qwe"); |
| 12 | } | 12 | } |
| 13 | echo "Valeur: " . \asd\test_object::TEST_VALUE . "\n"; | 13 | echo "Valeur: " . \asd\test_object::TEST_VALUE . "\n"; |
| 14 | test(); | 14 | test(); |
| @@ -29,4 +29,4 @@ class test_object { | |||
| 29 | --EXPECTF-- | 29 | --EXPECTF-- |
| 30 | Valeur: qwerty | 30 | Valeur: qwerty |
| 31 | 31 | ||
| 32 | Fatal error: [snuffleupagus][disabled_function] Aborted execution on call of the function 'strlen' in %a/disabled_function_local_var_7.php on line 4 \ No newline at end of file | 32 | Fatal error: [snuffleupagus][disabled_function] Aborted execution on call of the function 'strtoupper' in %a/disabled_function_local_var_7.php on line 4 \ No newline at end of file |
