Skip to content

Commit 5b1e9c1

Browse files
committed
Fix clone CurlUrl test
1 parent bb38ee8 commit 5b1e9c1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ext/curl/tests/curl_url_006.phpt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ if (curl_version()['version_number'] < 0x073e00) die('skip requires curl >= 7.62
1010
<?php
1111
$url = curl_url('https://www.example.com/');
1212
$url2 = clone $url;
13-
echo curl_url_get($url, CURLUPART_URL);
13+
unset($url);
14+
echo curl_url_get($url2, CURLUPART_URL);
1415
?>
1516
--EXPECT--
1617
https://www.example.com/

0 commit comments

Comments
 (0)