summaryrefslogtreecommitdiff
path: root/src/tests/disable_function/disabled_functions_method.phpt
diff options
context:
space:
mode:
authorjvoisin2020-12-12 18:57:48 +0000
committerjvoisin2020-12-12 20:33:14 +0100
commit5329a55bfd2b00d617a40d587cd37050d964ccbf (patch)
tree81ba53c4f950442a904a437458228d1ab2859227 /src/tests/disable_function/disabled_functions_method.phpt
parente34f5f5aaa4a40745bd652198d75b879aa09a53c (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_method.phpt')
-rw-r--r--src/tests/disable_function/disabled_functions_method.phpt3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tests/disable_function/disabled_functions_method.phpt b/src/tests/disable_function/disabled_functions_method.phpt
index 5f287ad..b41c74d 100644
--- a/src/tests/disable_function/disabled_functions_method.phpt
+++ b/src/tests/disable_function/disabled_functions_method.phpt
@@ -2,6 +2,7 @@
2Disable functions 2Disable functions
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--
6sp.configuration_file={PWD}/config/config_disabled_functions_method.ini 7sp.configuration_file={PWD}/config/config_disabled_functions_method.ini
7--FILE-- 8--FILE--
@@ -24,4 +25,4 @@ $c->method2("paf");
24$c->method3("pouet"); 25$c->method3("pouet");
25?> 26?>
26--EXPECTF-- 27--EXPECTF--
27Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'AwesomeClass::method1' in %a/disabled_functions_method.php on line 4 \ No newline at end of file 28Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'AwesomeClass::method1' in %a/disabled_functions_method.php on line 4