]> granicus.if.org Git - php/commitdiff
Skip if https wrapper isn't present
authorLevi Morrison <levim@php.net>
Tue, 22 Sep 2020 09:36:32 +0000 (03:36 -0600)
committerLevi Morrison <levim@php.net>
Tue, 22 Sep 2020 09:36:54 +0000 (03:36 -0600)
ext/standard/tests/network/bug80067.phpt

index 19b2c76bb9458f5860458e52e36946004b2a678a..ed7802cc40d2b95f88898215fa52ef8d850aafda 100644 (file)
@@ -3,6 +3,7 @@ Bug #80067 (Omitting the port in bindto setting errors)
 --SKIPIF--
 <?php
 if (getenv("SKIP_ONLINE_TESTS")) die('skip online test');
+if (!in_array('https', stream_get_wrappers())) die('skip: https wrapper is required');
 ?>
 --FILE--
 <?php