Viewing File: /opt/alt/tests/alt-php83-pecl-http_4.2.6-4.el8/tests/url004.phpt

--TEST--
url as string
--SKIPIF--
<?php
include "skipif.inc";
?>
--FILE--
<?php
echo "Test\n";

$u = "http://user:pass@www.example.com:8080/path/file.ext".
			"?foo=bar&more[]=1&more[]=2#hash";

$url = new http\Url($u);
var_dump((string) $url == (string) new http\Url((string) $url));

?>
DONE
--EXPECT--
Test
bool(true)
DONE
Back to Directory File Manager
<