summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/tests/cookies_encryption/encrypt_cookies4.phpt2
-rw-r--r--src/tests/cookies_encryption/setcookie.phpt2
-rw-r--r--src/tests/cookies_php8/encrypt_cookies4.phpt2
-rw-r--r--src/tests/deny_writable/deny_writable_execution.phpt2
-rw-r--r--src/tests/deny_writable/deny_writable_execution_simulation.phpt4
-rw-r--r--src/tests/deny_writable/dump_deny_writable_execution.phpt4
-rw-r--r--src/tests/disable_function/disabled_functions_chmod.phpt2
-rw-r--r--src/tests/disable_function/disabled_functions_name_regexp_type.phpt2
-rw-r--r--src/tests/disable_function/disabled_functions_name_type.phpt2
-rw-r--r--src/tests/disable_function/disabled_functions_param_str_representation.phpt2
-rw-r--r--src/tests/dump_request/dump_request_nonwriteable_folder.phpt4
-rw-r--r--src/tests/global_strict/global_strict.phpt2
-rw-r--r--src/tests/global_strict/global_strict_disabled.phpt2
-rw-r--r--src/tests/harden_rand/harden_rand_noargs.phpt2
-rw-r--r--src/tests/regressions/issue_479.phpt3
-rw-r--r--src/tests/session_encryption/set_custom_session_handler.phpt2
-rw-r--r--src/tests/sloppy_comparison/sloppy_comparison_array_disabled.phpt2
-rw-r--r--src/tests/sloppy_comparison/sloppy_comparison_array_keys_disabled.phpt2
-rw-r--r--src/tests/sloppy_comparison/sloppy_comparison_array_search_disabled.phpt2
-rw-r--r--src/tests/sloppy_comparison/sloppy_comparison_disable.phpt2
-rw-r--r--src/tests/stream_wrapper/stream_wrapper_register.phpt2
-rw-r--r--src/tests/stream_wrapper/stream_wrapper_restore.phpt2
-rw-r--r--src/tests/unserialize/unserialize_noclass_forced.phpt5
-rw-r--r--src/tests/unserialize/unserialize_wrong_call.phpt2
-rw-r--r--src/tests/upload_validation/upload_validation_real.phpt10
-rw-r--r--src/tests/xxe/disable_xxe_dom_disabled.phpt2
-rw-r--r--src/tests/xxe/disable_xxe_simplexml.phpt2
-rw-r--r--src/tests/xxe/disable_xxe_simplexml_oop.phpt2
-rw-r--r--src/tests/xxe/disable_xxe_xml_parse.phpt2
29 files changed, 39 insertions, 37 deletions
diff --git a/src/tests/cookies_encryption/encrypt_cookies4.phpt b/src/tests/cookies_encryption/encrypt_cookies4.phpt
index fa36756..60e335b 100644
--- a/src/tests/cookies_encryption/encrypt_cookies4.phpt
+++ b/src/tests/cookies_encryption/encrypt_cookies4.phpt
@@ -2,7 +2,7 @@
2Cookie encryption in ipv6 2Cookie encryption in ipv6
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<?php if (PHP_VERSION_ID >= 80000) print "skip Not implemented for PHP 8+"; ?>
6--INI-- 6--INI--
7sp.configuration_file={PWD}/config/config_encrypted_cookies.ini 7sp.configuration_file={PWD}/config/config_encrypted_cookies.ini
8--COOKIE-- 8--COOKIE--
diff --git a/src/tests/cookies_encryption/setcookie.phpt b/src/tests/cookies_encryption/setcookie.phpt
index 4e86984..86596de 100644
--- a/src/tests/cookies_encryption/setcookie.phpt
+++ b/src/tests/cookies_encryption/setcookie.phpt
@@ -2,7 +2,7 @@
2Set cookies. 2Set cookies.
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<?php if (PHP_VERSION_ID >= 80000) print "skip Not implemented for PHP 8+"; ?>
6--INI-- 6--INI--
7sp.configuration_file={PWD}/config/config_encrypted_cookies.ini 7sp.configuration_file={PWD}/config/config_encrypted_cookies.ini
8--COOKIE-- 8--COOKIE--
diff --git a/src/tests/cookies_php8/encrypt_cookies4.phpt b/src/tests/cookies_php8/encrypt_cookies4.phpt
index b6acb73..2ab20ae 100644
--- a/src/tests/cookies_php8/encrypt_cookies4.phpt
+++ b/src/tests/cookies_php8/encrypt_cookies4.phpt
@@ -2,7 +2,7 @@
2Cookie encryption in ipv6 2Cookie encryption in ipv6
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 || PHP_VERSION_ID >= 80200) print "skip"; ?> 5<?php if (PHP_VERSION_ID < 80000 || PHP_VERSION_ID >= 80200) print "skip Not implemented for PHP 8-8.2"; ?>
6--INI-- 6--INI--
7sp.configuration_file={PWD}/config/config_encrypted_cookies.ini 7sp.configuration_file={PWD}/config/config_encrypted_cookies.ini
8--COOKIE-- 8--COOKIE--
diff --git a/src/tests/deny_writable/deny_writable_execution.phpt b/src/tests/deny_writable/deny_writable_execution.phpt
index 383ffa5..c6ece7a 100644
--- a/src/tests/deny_writable/deny_writable_execution.phpt
+++ b/src/tests/deny_writable/deny_writable_execution.phpt
@@ -11,7 +11,7 @@ $filename = __DIR__ . '/test.txt';
11file_put_contents($filename, 'a'); 11file_put_contents($filename, 'a');
12chmod($filename, 0400); 12chmod($filename, 0400);
13 13
14if (is_writable($filename)) print "skip"; 14if (is_writable($filename)) print "skip chmod did not remove write access";
15@unlink($filename); 15@unlink($filename);
16 ?> 16 ?>
17--INI-- 17--INI--
diff --git a/src/tests/deny_writable/deny_writable_execution_simulation.phpt b/src/tests/deny_writable/deny_writable_execution_simulation.phpt
index 39dab32..4986a62 100644
--- a/src/tests/deny_writable/deny_writable_execution_simulation.phpt
+++ b/src/tests/deny_writable/deny_writable_execution_simulation.phpt
@@ -7,11 +7,11 @@ if (!extension_loaded("snuffleupagus")) { print "skip"; };
7// root has write privileges on any file 7// root has write privileges on any file
8if (TRUE == function_exists("posix_getuid")) { 8if (TRUE == function_exists("posix_getuid")) {
9 if (0 == posix_getuid()) { 9 if (0 == posix_getuid()) {
10 print "skip"; 10 print "skip Running as root";
11 } 11 }
12} elseif (TRUE == function_exists("shell_exec")) { 12} elseif (TRUE == function_exists("shell_exec")) {
13 if ("root" == trim(shell_exec("whoami"))) { 13 if ("root" == trim(shell_exec("whoami"))) {
14 print "skip"; 14 print "skip Running as root";
15 } 15 }
16} 16}
17 ?> 17 ?>
diff --git a/src/tests/deny_writable/dump_deny_writable_execution.phpt b/src/tests/deny_writable/dump_deny_writable_execution.phpt
index 2e6bca5..efd3694 100644
--- a/src/tests/deny_writable/dump_deny_writable_execution.phpt
+++ b/src/tests/deny_writable/dump_deny_writable_execution.phpt
@@ -7,11 +7,11 @@ if (!extension_loaded("snuffleupagus")) print "skip";
7// root has write privileges on any file 7// root has write privileges on any file
8if (TRUE == function_exists("posix_getuid")) { 8if (TRUE == function_exists("posix_getuid")) {
9 if (0 == posix_getuid()) { 9 if (0 == posix_getuid()) {
10 print "skip"; 10 print "skip Running as root";
11 } 11 }
12} elseif (TRUE == function_exists("shell_exec")) { 12} elseif (TRUE == function_exists("shell_exec")) {
13 if ("root" == trim(shell_exec("whoami"))) { 13 if ("root" == trim(shell_exec("whoami"))) {
14 print "skip"; 14 print "skip Running as root";
15 } 15 }
16} 16}
17?> 17?>
diff --git a/src/tests/disable_function/disabled_functions_chmod.phpt b/src/tests/disable_function/disabled_functions_chmod.phpt
index 834bc31..b75b877 100644
--- a/src/tests/disable_function/disabled_functions_chmod.phpt
+++ b/src/tests/disable_function/disabled_functions_chmod.phpt
@@ -2,7 +2,7 @@
2Disable functions - chmod 2Disable functions - chmod
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<?php if (PHP_VERSION_ID >= 80000) print "skip Not implemented in PHP 8+"; ?>
6--INI-- 6--INI--
7sp.configuration_file={PWD}/config/disabled_functions_chmod.ini 7sp.configuration_file={PWD}/config/disabled_functions_chmod.ini
8--FILE-- 8--FILE--
diff --git a/src/tests/disable_function/disabled_functions_name_regexp_type.phpt b/src/tests/disable_function/disabled_functions_name_regexp_type.phpt
index 25ac2b3..20aebf1 100644
--- a/src/tests/disable_function/disabled_functions_name_regexp_type.phpt
+++ b/src/tests/disable_function/disabled_functions_name_regexp_type.phpt
@@ -2,7 +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<?php if (PHP_VERSION_ID >= 80000) print "skip Not implemented in PHP 8+"; ?>
6--INI-- 6--INI--
7sp.configuration_file={PWD}/config/config_disabled_functions_name_regexp_type.ini 7sp.configuration_file={PWD}/config/config_disabled_functions_name_regexp_type.ini
8--FILE-- 8--FILE--
diff --git a/src/tests/disable_function/disabled_functions_name_type.phpt b/src/tests/disable_function/disabled_functions_name_type.phpt
index 62a6328..7a2c3ed 100644
--- a/src/tests/disable_function/disabled_functions_name_type.phpt
+++ b/src/tests/disable_function/disabled_functions_name_type.phpt
@@ -2,7 +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<?php if (PHP_VERSION_ID >= 80000) print "skip Not implemented in PHP 8+"; ?>
6--INI-- 6--INI--
7sp.configuration_file={PWD}/config/config_disabled_functions_name_type.ini 7sp.configuration_file={PWD}/config/config_disabled_functions_name_type.ini
8--FILE-- 8--FILE--
diff --git a/src/tests/disable_function/disabled_functions_param_str_representation.phpt b/src/tests/disable_function/disabled_functions_param_str_representation.phpt
index 179ce93..6fc3927 100644
--- a/src/tests/disable_function/disabled_functions_param_str_representation.phpt
+++ b/src/tests/disable_function/disabled_functions_param_str_representation.phpt
@@ -2,7 +2,7 @@
2Disable functions - casting various types to string internally 2Disable functions - casting various types to string internally
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<?php if (PHP_VERSION_ID >= 80000) print "skip Not implemented in PHP 8+"; ?>
6--INI-- 6--INI--
7sp.configuration_file={PWD}/config/config_disabled_functions_param_str_representation.ini 7sp.configuration_file={PWD}/config/config_disabled_functions_param_str_representation.ini
8--FILE-- 8--FILE--
diff --git a/src/tests/dump_request/dump_request_nonwriteable_folder.phpt b/src/tests/dump_request/dump_request_nonwriteable_folder.phpt
index fc70341..25b4c47 100644
--- a/src/tests/dump_request/dump_request_nonwriteable_folder.phpt
+++ b/src/tests/dump_request/dump_request_nonwriteable_folder.phpt
@@ -8,11 +8,11 @@ if ("ubuntu" == getenv("CI_JOB_IMAGE")) { print "skip"; }
8// root has write privileges "any" folders 8// root has write privileges "any" folders
9if (TRUE == function_exists("posix_getuid")) { 9if (TRUE == function_exists("posix_getuid")) {
10 if (0 == posix_getuid()) { 10 if (0 == posix_getuid()) {
11 print "skip"; 11 print "skip Running as root";
12 } 12 }
13} elseif (TRUE == function_exists("shell_exec")) { 13} elseif (TRUE == function_exists("shell_exec")) {
14 if ("root" == trim(shell_exec("whoami"))) { 14 if ("root" == trim(shell_exec("whoami"))) {
15 print "skip"; 15 print "skip Running as root";
16 } 16 }
17} 17}
18 18
diff --git a/src/tests/global_strict/global_strict.phpt b/src/tests/global_strict/global_strict.phpt
index 07dc979..8f746d7 100644
--- a/src/tests/global_strict/global_strict.phpt
+++ b/src/tests/global_strict/global_strict.phpt
@@ -2,7 +2,7 @@
2Global strict mode 2Global strict mode
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<?php if (PHP_VERSION_ID >= 80000) print "skip Not implemented in PHP 8+"; ?>
6--INI-- 6--INI--
7sp.configuration_file={PWD}/config/global_strict.ini 7sp.configuration_file={PWD}/config/global_strict.ini
8--FILE-- 8--FILE--
diff --git a/src/tests/global_strict/global_strict_disabled.phpt b/src/tests/global_strict/global_strict_disabled.phpt
index c948444..2ab6889 100644
--- a/src/tests/global_strict/global_strict_disabled.phpt
+++ b/src/tests/global_strict/global_strict_disabled.phpt
@@ -2,7 +2,7 @@
2Global strict mode 2Global strict mode
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<?php if (PHP_VERSION_ID >= 80000) print "skip Not implemented in PHP 8+"; ?>
6--INI-- 6--INI--
7sp.configuration_file={PWD}/config/global_strict_disabled.ini 7sp.configuration_file={PWD}/config/global_strict_disabled.ini
8--FILE-- 8--FILE--
diff --git a/src/tests/harden_rand/harden_rand_noargs.phpt b/src/tests/harden_rand/harden_rand_noargs.phpt
index 9abbffa..dab043b 100644
--- a/src/tests/harden_rand/harden_rand_noargs.phpt
+++ b/src/tests/harden_rand/harden_rand_noargs.phpt
@@ -2,7 +2,7 @@
2Harden rand without any arguments 2Harden rand without any arguments
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<?php if (PHP_VERSION_ID >= 80000) print "skip Not applicable for PHP 8+"; ?>
6--INI-- 6--INI--
7sp.configuration_file={PWD}/config/harden_rand.ini 7sp.configuration_file={PWD}/config/harden_rand.ini
8We should fix this 8We should fix this
diff --git a/src/tests/regressions/issue_479.phpt b/src/tests/regressions/issue_479.phpt
index 47e24d3..fa38c2b 100644
--- a/src/tests/regressions/issue_479.phpt
+++ b/src/tests/regressions/issue_479.phpt
@@ -1,7 +1,8 @@
1--TEST-- 1--TEST--
2Regression test for https://github.com/jvoisin/snuffleupagus/issues/479 2Regression test for https://github.com/jvoisin/snuffleupagus/issues/479
3--SKIPIF-- 3--SKIPIF--
4<?php if (!extension_loaded("snuffleupagus") || !extension_loaded("simplexml")) print("skip"); ?> 4<?php if (!extension_loaded("snuffleupagus")) print("skip"); ?>
5<?php if (!extension_loaded("simplexml")) print("skip Required extension missing: simplexml"); ?>
5--INI-- 6--INI--
6sp.configuration_file={PWD}/../config/issue_479.ini 7sp.configuration_file={PWD}/../config/issue_479.ini
7--FILE-- 8--FILE--
diff --git a/src/tests/session_encryption/set_custom_session_handler.phpt b/src/tests/session_encryption/set_custom_session_handler.phpt
index 1f3f907..b917f5b 100644
--- a/src/tests/session_encryption/set_custom_session_handler.phpt
+++ b/src/tests/session_encryption/set_custom_session_handler.phpt
@@ -3,7 +3,7 @@ Set a custom session handler
3--SKIPIF-- 3--SKIPIF--
4<?php if (!extension_loaded("snuffleupagus")) print "skip"; ?> 4<?php if (!extension_loaded("snuffleupagus")) print "skip"; ?>
5<?php if (!extension_loaded("session")) print "skip"; ?> 5<?php if (!extension_loaded("session")) print "skip"; ?>
6<?php if (PHP_VERSION_ID >= 80400) print "skip"; /* Calling session_set_save_handler() with more than 2 arguments is deprecated */ ?> 6<?php if (PHP_VERSION_ID >= 80400) print "skip Not applicable for PHP 8+"; /* Calling session_set_save_handler() with more than 2 arguments is deprecated */ ?>
7--EXTENSIONS-- 7--EXTENSIONS--
8session 8session
9--INI-- 9--INI--
diff --git a/src/tests/sloppy_comparison/sloppy_comparison_array_disabled.phpt b/src/tests/sloppy_comparison/sloppy_comparison_array_disabled.phpt
index e292f5e..531ed1d 100644
--- a/src/tests/sloppy_comparison/sloppy_comparison_array_disabled.phpt
+++ b/src/tests/sloppy_comparison/sloppy_comparison_array_disabled.phpt
@@ -2,7 +2,7 @@
2Sloppy comparison in_array disabled 2Sloppy comparison in_array disabled
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<?php if (PHP_VERSION_ID >= 80000) print "skip Not applicable for PHP 8+"; ?>
6--INI-- 6--INI--
7sp.allow_broken_configuration=On 7sp.allow_broken_configuration=On
8--FILE-- 8--FILE--
diff --git a/src/tests/sloppy_comparison/sloppy_comparison_array_keys_disabled.phpt b/src/tests/sloppy_comparison/sloppy_comparison_array_keys_disabled.phpt
index 3cc02c2..84bbad1 100644
--- a/src/tests/sloppy_comparison/sloppy_comparison_array_keys_disabled.phpt
+++ b/src/tests/sloppy_comparison/sloppy_comparison_array_keys_disabled.phpt
@@ -2,7 +2,7 @@
2Sloppy comparison array_keys disabled 2Sloppy comparison array_keys disabled
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<?php if (PHP_VERSION_ID >= 80000) print "skip Not applicable for PHP 8+"; ?>
6--INI-- 6--INI--
7sp.allow_broken_configuration=On 7sp.allow_broken_configuration=On
8--FILE-- 8--FILE--
diff --git a/src/tests/sloppy_comparison/sloppy_comparison_array_search_disabled.phpt b/src/tests/sloppy_comparison/sloppy_comparison_array_search_disabled.phpt
index 2da4a17..f49ae4a 100644
--- a/src/tests/sloppy_comparison/sloppy_comparison_array_search_disabled.phpt
+++ b/src/tests/sloppy_comparison/sloppy_comparison_array_search_disabled.phpt
@@ -2,7 +2,7 @@
2Sloppy comparison array_search disabled 2Sloppy comparison array_search disabled
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<?php if (PHP_VERSION_ID >= 80000) print "skip Not applicable for PHP 8+"; ?>
6--INI-- 6--INI--
7sp.allow_broken_configuration=On 7sp.allow_broken_configuration=On
8--FILE-- 8--FILE--
diff --git a/src/tests/sloppy_comparison/sloppy_comparison_disable.phpt b/src/tests/sloppy_comparison/sloppy_comparison_disable.phpt
index be615f5..d8f9108 100644
--- a/src/tests/sloppy_comparison/sloppy_comparison_disable.phpt
+++ b/src/tests/sloppy_comparison/sloppy_comparison_disable.phpt
@@ -2,7 +2,7 @@
2Sloppy comparison 2Sloppy comparison
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<?php if (PHP_VERSION_ID >= 80000) print "skip Not applicable for PHP 8+"; ?>
6--INI-- 6--INI--
7sp.allow_broken_configuration=On 7sp.allow_broken_configuration=On
8--FILE-- 8--FILE--
diff --git a/src/tests/stream_wrapper/stream_wrapper_register.phpt b/src/tests/stream_wrapper/stream_wrapper_register.phpt
index 4fa9ea8..3c63d4f 100644
--- a/src/tests/stream_wrapper/stream_wrapper_register.phpt
+++ b/src/tests/stream_wrapper/stream_wrapper_register.phpt
@@ -2,7 +2,7 @@
2Stream wrapper 2Stream wrapper
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 >= 80200) print "skip"; ?> 5<?php if (PHP_VERSION_ID >= 80200) print "skip Not applicable for PHP 8+"; ?>
6--INI-- 6--INI--
7sp.configuration_file={PWD}/config/config_stream_wrapper_register.ini 7sp.configuration_file={PWD}/config/config_stream_wrapper_register.ini
8--FILE-- 8--FILE--
diff --git a/src/tests/stream_wrapper/stream_wrapper_restore.phpt b/src/tests/stream_wrapper/stream_wrapper_restore.phpt
index 4f110ee..9d883f5 100644
--- a/src/tests/stream_wrapper/stream_wrapper_restore.phpt
+++ b/src/tests/stream_wrapper/stream_wrapper_restore.phpt
@@ -2,7 +2,7 @@
2Stream wrapper 2Stream wrapper
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<?php if (PHP_VERSION_ID >= 80000) print "skip Not applicable for PHP 8+"; ?>
6--INI-- 6--INI--
7sp.configuration_file={PWD}/config/config_stream_wrapper_register.ini 7sp.configuration_file={PWD}/config/config_stream_wrapper_register.ini
8--FILE-- 8--FILE--
diff --git a/src/tests/unserialize/unserialize_noclass_forced.phpt b/src/tests/unserialize/unserialize_noclass_forced.phpt
index 3b1e8d3..4631509 100644
--- a/src/tests/unserialize/unserialize_noclass_forced.phpt
+++ b/src/tests/unserialize/unserialize_noclass_forced.phpt
@@ -1,7 +1,8 @@
1--TEST-- 1--TEST--
2Unserialize with noclass forced 2Unserialize with noclass forced on PHP7
3--SKIPIF-- 3--SKIPIF--
4<?php if (!extension_loaded("snuffleupagus") || PHP_VERSION_ID >= 80000) print "skip"; ?> 4<?php if (!extension_loaded("snuffleupagus")) print "skip"; ?>
5<?php if (PHP_VERSION_ID >= 80000) print "skip Not applicable for PHP 8+"; ?>
5--INI-- 6--INI--
6sp.configuration_file={PWD}/config/config_serialize_noclass.ini 7sp.configuration_file={PWD}/config/config_serialize_noclass.ini
7--FILE-- 8--FILE--
diff --git a/src/tests/unserialize/unserialize_wrong_call.phpt b/src/tests/unserialize/unserialize_wrong_call.phpt
index 70d91a5..930095e 100644
--- a/src/tests/unserialize/unserialize_wrong_call.phpt
+++ b/src/tests/unserialize/unserialize_wrong_call.phpt
@@ -2,7 +2,7 @@
2Unserialize ok, but called with the wrong number of arguments 2Unserialize ok, but called with the wrong number of arguments
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<?php if (PHP_VERSION_ID >= 80000) print "skip Not applicable for PHP 8+, as it results in a fatal error"; ?>
6--INI-- 6--INI--
7sp.configuration_file={PWD}/config/config_serialize.ini 7sp.configuration_file={PWD}/config/config_serialize.ini
8--FILE-- 8--FILE--
diff --git a/src/tests/upload_validation/upload_validation_real.phpt b/src/tests/upload_validation/upload_validation_real.phpt
index 1c919ec..7f98561 100644
--- a/src/tests/upload_validation/upload_validation_real.phpt
+++ b/src/tests/upload_validation/upload_validation_real.phpt
@@ -3,23 +3,23 @@ Upload a file, validation ok, with our real script, using vld
3--SKIPIF-- 3--SKIPIF--
4<?php 4<?php
5if (!extension_loaded("snuffleupagus")) { 5if (!extension_loaded("snuffleupagus")) {
6 print "skip"; 6 print "skip";
7} 7}
8 8
9if (PHP_VERSION_ID >= 80000) { 9if (PHP_VERSION_ID >= 80000) {
10 print "skip"; 10 print "skip Not applicable for PHP 8+";
11} 11}
12 12
13if (strpos(system(PHP_BINARY . " -d error_log=/dev/null -d extension=vld.so -m 2>/dev/null"), "vld") === FALSE) { 13if (strpos(system(PHP_BINARY . " -d error_log=/dev/null -d extension=vld.so -m 2>/dev/null"), "vld") === FALSE) {
14 print "skip"; 14 print "skip Failed to run php command";
15} 15}
16 16
17if (strpos(system(PHP_BINARY . " -d extension=vld.so -m 2>&1 | grep 'Unable to load'"), "Unable to load dynamic library 'vld.so'") !== FALSE) { 17if (strpos(system(PHP_BINARY . " -d extension=vld.so -m 2>&1 | grep 'Unable to load'"), "Unable to load dynamic library 'vld.so'") !== FALSE) {
18 print "skip"; 18 print "skip Failed to run php command";
19} 19}
20 20
21if (strpos(phpversion(), '-dev') !== FALSE) { 21if (strpos(phpversion(), '-dev') !== FALSE) {
22 print 'skip'; 22 print "skip Detected development version of PHP";
23} 23}
24?> 24?>
25--INI-- 25--INI--
diff --git a/src/tests/xxe/disable_xxe_dom_disabled.phpt b/src/tests/xxe/disable_xxe_dom_disabled.phpt
index 20399ec..cd8091c 100644
--- a/src/tests/xxe/disable_xxe_dom_disabled.phpt
+++ b/src/tests/xxe/disable_xxe_dom_disabled.phpt
@@ -2,7 +2,7 @@
2Disable XXE (feature enabled) 2Disable XXE (feature enabled)
3--SKIPIF-- 3--SKIPIF--
4<?php if (!extension_loaded("snuffleupagus") || !extension_loaded("dom") || !extension_loaded("xml")) print("skip"); ?> 4<?php if (!extension_loaded("snuffleupagus") || !extension_loaded("dom") || !extension_loaded("xml")) print("skip"); ?>
5<?php if (PHP_VERSION_ID >= 80000) print "skip"; ?> 5<?php if (PHP_VERSION_ID >= 80000) print "skip Not applicable for PHP 8+"; ?>
6--INI-- 6--INI--
7sp.configuration_file={PWD}/config/disable_xxe.ini 7sp.configuration_file={PWD}/config/disable_xxe.ini
8--EXTENSIONS-- 8--EXTENSIONS--
diff --git a/src/tests/xxe/disable_xxe_simplexml.phpt b/src/tests/xxe/disable_xxe_simplexml.phpt
index 6b1e3f5..d33e206 100644
--- a/src/tests/xxe/disable_xxe_simplexml.phpt
+++ b/src/tests/xxe/disable_xxe_simplexml.phpt
@@ -2,7 +2,7 @@
2Disable XXE 2Disable XXE
3--SKIPIF-- 3--SKIPIF--
4<?php if (!extension_loaded("snuffleupagus") || !extension_loaded("simplexml")) print("skip"); ?> 4<?php if (!extension_loaded("snuffleupagus") || !extension_loaded("simplexml")) print("skip"); ?>
5<?php if (PHP_VERSION_ID >= 80000) print "skip"; ?> 5<?php if (PHP_VERSION_ID >= 80000) print "skip Not applicable for PHP 8+"; ?>
6--INI-- 6--INI--
7sp.configuration_file={PWD}/config/disable_xxe_disable.ini 7sp.configuration_file={PWD}/config/disable_xxe_disable.ini
8--EXTENSIONS-- 8--EXTENSIONS--
diff --git a/src/tests/xxe/disable_xxe_simplexml_oop.phpt b/src/tests/xxe/disable_xxe_simplexml_oop.phpt
index 3da8dc8..89c38dc 100644
--- a/src/tests/xxe/disable_xxe_simplexml_oop.phpt
+++ b/src/tests/xxe/disable_xxe_simplexml_oop.phpt
@@ -2,7 +2,7 @@
2Disable XXE 2Disable XXE
3--SKIPIF-- 3--SKIPIF--
4<?php if (!extension_loaded("snuffleupagus") || !extension_loaded("simplexml")) print("skip"); ?> 4<?php if (!extension_loaded("snuffleupagus") || !extension_loaded("simplexml")) print("skip"); ?>
5<?php if (PHP_VERSION_ID >= 80000) print "skip"; ?> 5<?php if (PHP_VERSION_ID >= 80000) print "skip Not applicable for PHP 8+"; ?>
6--INI-- 6--INI--
7sp.configuration_file={PWD}/config/disable_xxe_disable.ini 7sp.configuration_file={PWD}/config/disable_xxe_disable.ini
8--EXTENSIONS-- 8--EXTENSIONS--
diff --git a/src/tests/xxe/disable_xxe_xml_parse.phpt b/src/tests/xxe/disable_xxe_xml_parse.phpt
index 4a8292d..00627e7 100644
--- a/src/tests/xxe/disable_xxe_xml_parse.phpt
+++ b/src/tests/xxe/disable_xxe_xml_parse.phpt
@@ -8,7 +8,7 @@ Disable XXE in xml_parse
8 echo "skip because the `xml` extension isn't loaded"; 8 echo "skip because the `xml` extension isn't loaded";
9} 9}
10 ?> 10 ?>
11<?php if (PHP_VERSION_ID >= 80000) print "skip"; ?> 11<?php if (PHP_VERSION_ID >= 80000) print "skip Not applicable for PHP 8+"; ?>
12--EXTENSIONS-- 12--EXTENSIONS--
13xml 13xml
14--INI-- 14--INI--