diff options
Diffstat (limited to 'src/tests/disable_function/disabled_functions_eval_filename.phpt')
| -rw-r--r-- | src/tests/disable_function/disabled_functions_eval_filename.phpt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tests/disable_function/disabled_functions_eval_filename.phpt b/src/tests/disable_function/disabled_functions_eval_filename.phpt index 61757a3..eb714e5 100644 --- a/src/tests/disable_function/disabled_functions_eval_filename.phpt +++ b/src/tests/disable_function/disabled_functions_eval_filename.phpt | |||
| @@ -2,6 +2,7 @@ | |||
| 2 | Disable functions - eval | 2 | Disable functions - eval |
| 3 | --SKIPIF-- | 3 | --SKIPIF-- |
| 4 | <?php if (!extension_loaded("snuffleupagus")) print "skip"; ?> | 4 | <?php if (!extension_loaded("snuffleupagus")) print "skip"; ?> |
| 5 | <?php if (PHP_VERSION_ID >= 80000) print "skip"; ?> | ||
| 5 | --INI-- | 6 | --INI-- |
| 6 | sp.configuration_file={PWD}/config/config_disabled_functions_eval_filename.ini | 7 | sp.configuration_file={PWD}/config/config_disabled_functions_eval_filename.ini |
| 7 | --FILE-- | 8 | --FILE-- |
| @@ -11,4 +12,4 @@ eval('$var = 1337 + 1337;'); | |||
| 11 | print("Variable: $var\n"); | 12 | print("Variable: $var\n"); |
| 12 | ?> | 13 | ?> |
| 13 | --EXPECTF-- | 14 | --EXPECTF-- |
| 14 | Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'eval' in %a/disabled_functions_eval_filename.php(3) : eval()'d code on line 1 \ No newline at end of file | 15 | Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'eval' in %a/disabled_functions_eval_filename.php(3) : eval()'d code on line 1 |
