Skip to content

Commit a00bb86

Browse files
committed
ver check
1 parent 181a7d2 commit a00bb86

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ext/curl/tests/gh16802.phpt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ curl
55
--SKIPIF--
66
<?php
77
if (PHP_OS_FAMILY === "Windows") die("skip not for Windows");
8+
$curl_version = curl_version();
9+
if ($curl_version['version_number'] < 0x075500) {
10+
die("skip: blob options not supported for curl < 7.85.0");
11+
}
812
?>
913
--INI--
1014
open_basedir=/nowhere

0 commit comments

Comments
 (0)