mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
15 lines
271 B
PHP
15 lines
271 B
PHP
--TEST--
|
|
Test Uri\Rfc3986\Uri parsing - scheme - empty
|
|
--FILE--
|
|
<?php
|
|
|
|
try {
|
|
new Uri\Rfc3986\Uri("://example.com");
|
|
} catch (Throwable $e) {
|
|
echo $e::class, ": ", $e->getMessage(), PHP_EOL;
|
|
}
|
|
|
|
?>
|
|
--EXPECT--
|
|
Uri\InvalidUriException: The specified URI is malformed
|