[lang-ref] ( encode_uri_slash_escaped_or_not ) ( php )
<?php
public function testEncodeUriSlashEscapedOrNot(): void
{
// Yes
$s = rawurlencode('/');
$this->assertSame('%2F', $s);
}
<?php
public function testEncodeUriSlashEscapedOrNot(): void
{
// Yes
$s = rawurlencode('/');
$this->assertSame('%2F', $s);
}