diff options
Diffstat (limited to 'src/tests/disable_function/disabled_function_local_var_obj.phpt')
| -rw-r--r-- | src/tests/disable_function/disabled_function_local_var_obj.phpt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/disable_function/disabled_function_local_var_obj.phpt b/src/tests/disable_function/disabled_function_local_var_obj.phpt index c8c3be3..684933a 100644 --- a/src/tests/disable_function/disabled_function_local_var_obj.phpt +++ b/src/tests/disable_function/disabled_function_local_var_obj.phpt | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | --TEST-- | 1 | --TEST-- |
| 2 | Disable functions - match on a local variable | 2 | Disable functions - match on a local variable |
| 3 | --SKIPIF-- | 3 | --SKIPIF-- |
| 4 | <?php if (!extension_loaded("snuffleupagus")) die "skip"; ?> | 4 | <?php if (!extension_loaded("snuffleupagus")) print "skip"; ?> |
| 5 | --INI-- | 5 | --INI-- |
| 6 | sp.configuration_file={PWD}/config/disabled_function_local_var_obj.ini | 6 | sp.configuration_file={PWD}/config/disabled_function_local_var_obj.ini |
| 7 | --FILE-- | 7 | --FILE-- |
| @@ -23,4 +23,4 @@ echo strtoupper($test->$arg) . "\n"; | |||
| 23 | --EXPECTF-- | 23 | --EXPECTF-- |
| 24 | QWE | 24 | QWE |
| 25 | 25 | ||
| 26 | Fatal error: [snuffleupagus][0.0.0.0][disabled_function] Aborted execution on call of the function 'strtoupper' in %a/disabled_function_local_var_obj.php on line 14 | 26 | Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'strtoupper' in %a/disabled_function_local_var_obj.php on line 14 |
