diff options
| author | jvoisin | 2020-12-12 18:57:48 +0000 |
|---|---|---|
| committer | jvoisin | 2020-12-12 20:33:14 +0100 |
| commit | 5329a55bfd2b00d617a40d587cd37050d964ccbf (patch) | |
| tree | 81ba53c4f950442a904a437458228d1ab2859227 /src/tests/disable_function/disabled_functions_ret_val_rx.phpt | |
| parent | e34f5f5aaa4a40745bd652198d75b879aa09a53c (diff) | |
Mark the relevant php8 tests as broken (#359)
* Skip tests broken on php8
* Oops
* Fix some tests
* Add some XXE tests for php8
* Fix a test
Diffstat (limited to 'src/tests/disable_function/disabled_functions_ret_val_rx.phpt')
| -rw-r--r-- | src/tests/disable_function/disabled_functions_ret_val_rx.phpt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tests/disable_function/disabled_functions_ret_val_rx.phpt b/src/tests/disable_function/disabled_functions_ret_val_rx.phpt index e756d30..e575af9 100644 --- a/src/tests/disable_function/disabled_functions_ret_val_rx.phpt +++ b/src/tests/disable_function/disabled_functions_ret_val_rx.phpt | |||
| @@ -2,6 +2,7 @@ | |||
| 2 | Disable functions ret val rx | 2 | Disable functions ret val rx |
| 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/disabled_functions_retval_rx.ini | 7 | sp.configuration_file={PWD}/config/disabled_functions_retval_rx.ini |
| 7 | --FILE-- | 8 | --FILE-- |
| @@ -12,4 +13,4 @@ echo str_repeat("fufufu",1); | |||
| 12 | --EXPECTF-- | 13 | --EXPECTF-- |
| 13 | fufu | 14 | fufu |
| 14 | 15 | ||
| 15 | Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on return of the function 'str_repeat', because the function returned 'fufufu', which matched a rule in %a/disabled_functions_ret_val_rx.php on line 3 \ No newline at end of file | 16 | Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on return of the function 'str_repeat', because the function returned 'fufufu', which matched a rule in %a/disabled_functions_ret_val_rx.php on line 3 |
