We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ff0f6c2 + 9439d65 commit d30ec2cCopy full SHA for d30ec2c
ext/curl/tests/curl_basic_009.phpt
@@ -7,7 +7,7 @@ TestFest 2009 - AFUP - Perrick Penet <perrick@noparking.net>
7
--FILE--
8
<?php
9
10
-$url = uniqid()."://www.".uniqid().".".uniqid();
+$url = substr(uniqid(),0,7)."://www.".uniqid().".".uniqid();
11
$ch = curl_init();
12
curl_setopt($ch, CURLOPT_URL, $url);
13
@@ -18,6 +18,6 @@ curl_close($ch);
18
19
20
?>
21
---EXPECTREGEX--
22
-string\(\d+\) "([^\r\n]*rotocol[^\r\n]+|Could not resolve host: .+)"
23
-int\(\d\)
+--EXPECTF--
+string(%d) "%Srotocol%s"
+int(1)
0 commit comments