summaryrefslogtreecommitdiff
path: root/src/tests/disable_function/disabled_functions_zero_cidr.phpt
diff options
context:
space:
mode:
authorjvoisin2020-12-01 09:47:51 +0100
committerGitHub2020-12-01 09:47:51 +0100
commit3b68dad2122d7e4a87a60f7161b7bc35d7c9b708 (patch)
tree419c4ca82adc0af0054cfd6f42e16cf7f89e30fd /src/tests/disable_function/disabled_functions_zero_cidr.phpt
parenta60798c68db2dd627987e1429b169dbcd460bf2a (diff)
In tests, don't `die("skip")` but `print "skip"` instead (#358)
This is required since the `die` is making php8 choke
Diffstat (limited to 'src/tests/disable_function/disabled_functions_zero_cidr.phpt')
-rw-r--r--src/tests/disable_function/disabled_functions_zero_cidr.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/disable_function/disabled_functions_zero_cidr.phpt b/src/tests/disable_function/disabled_functions_zero_cidr.phpt
index a0bc95c..4fd0bb9 100644
--- a/src/tests/disable_function/disabled_functions_zero_cidr.phpt
+++ b/src/tests/disable_function/disabled_functions_zero_cidr.phpt
@@ -1,7 +1,7 @@
1--TEST-- 1--TEST--
2Disable functions 2Disable functions
3--SKIPIF-- 3--SKIPIF--
4<?php if (!extension_loaded("snuffleupagus")) die "skip"; ?> 4<?php if (!extension_loaded("snuffleupagus")) print "skip"; ?>
5--ENV-- 5--ENV--
6return <<<EOF 6return <<<EOF
7REMOTE_ADDR=127.0.0.1 7REMOTE_ADDR=127.0.0.1