diff options
Diffstat (limited to 'src/tests/disable_function/disabled_function_local_var_const.phpt')
| -rw-r--r-- | src/tests/disable_function/disabled_function_local_var_const.phpt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/disable_function/disabled_function_local_var_const.phpt b/src/tests/disable_function/disabled_function_local_var_const.phpt index 8d9d58a..2013f6d 100644 --- a/src/tests/disable_function/disabled_function_local_var_const.phpt +++ b/src/tests/disable_function/disabled_function_local_var_const.phpt | |||
| @@ -8,7 +8,7 @@ sp.configuration_file={PWD}/config/disabled_function_local_var_const.ini | |||
| 8 | <?php | 8 | <?php |
| 9 | $a = 1337; | 9 | $a = 1337; |
| 10 | define("MY_CONST", $a); | 10 | define("MY_CONST", $a); |
| 11 | strlen("test"); | 11 | strtoupper("test"); |
| 12 | ?> | 12 | ?> |
| 13 | --EXPECTF-- | 13 | --EXPECTF-- |
| 14 | Fatal error: [snuffleupagus][disabled_function] Aborted execution on call of the function 'strlen' in %a/disabled_function_local_var_const.php on line 4 \ No newline at end of file | 14 | Fatal error: [snuffleupagus][disabled_function] Aborted execution on call of the function 'strtoupper' in %a/disabled_function_local_var_const.php on line 4 \ No newline at end of file |
