summaryrefslogtreecommitdiff
path: root/src/tests/disable_function/disabled_function_local_var_4.phpt
diff options
context:
space:
mode:
authorjvoisin2020-12-31 16:36:18 +0100
committerjvoisin2020-12-31 16:45:06 +0100
commita6c6934433979796a6c490899e9d21acf6b50571 (patch)
tree6ce4dcc6283044599a6a6409df3c9a82402f9c87 /src/tests/disable_function/disabled_function_local_var_4.phpt
parent53f83f80d87b80408d14f75c1364cf6ba233c7e5 (diff)
Enabled matching on local var in php8
PHP8 failed hard when it couldn't find the local variable we're looking for. using ZEND_FETCH_CLASS_SILENT makes it silent.
Diffstat (limited to 'src/tests/disable_function/disabled_function_local_var_4.phpt')
-rw-r--r--src/tests/disable_function/disabled_function_local_var_4.phpt1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/tests/disable_function/disabled_function_local_var_4.phpt b/src/tests/disable_function/disabled_function_local_var_4.phpt
index 7aa5e0c..ec44c3f 100644
--- a/src/tests/disable_function/disabled_function_local_var_4.phpt
+++ b/src/tests/disable_function/disabled_function_local_var_4.phpt
@@ -2,7 +2,6 @@
2Disable functions - match on a local variable 2Disable functions - match on a local variable
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"; ?>
6--INI-- 5--INI--
7sp.configuration_file={PWD}/config/disabled_function_local_var_2.ini 6sp.configuration_file={PWD}/config/disabled_function_local_var_2.ini
8--FILE-- 7--FILE--