uri\whatwg\url_percent_encode
Function • Added in PHP 8.6
uri\whatwg\url_percent_encode Function synopsis
Uri\WhatWg\url_percent_encode(string $input, Uri\WhatWg\UrlPercentEncodingMode $mode): string
Parameters
$input
Typestring
$mode
TypeUri\WhatWg\UrlPercentEncodingMode
Return value
Typestring
Changes to the uri\whatwg\url_percent_encode Function
PHP 8.6
- Function added
uri\whatwg\url_percent_encode Function Availability
uri\whatwg\url_percent_encode Function Availability| PHP Version | Availability |
|---|---|
| PHP 8.7Future Release | Yes |
| PHP 8.6Upcoming Release | Yes |
| PHP 8.5Supported (Latest) | No |
| PHP 8.4Supported | No |
| PHP 8.3Security-Fixes Only | No |
| PHP 8.2Security-Fixes Only | No |
| PHP 8.1Unsupported | No |
| PHP 8.0Unsupported | No |
| PHP 7.4Unsupported | No |
| PHP 7.3Unsupported | No |
| PHP 7.2Unsupported | No |
| PHP 7.1Unsupported | No |
| PHP 7.0Unsupported | No |
| PHP 5.6Unsupported | No |
| PHP 5.5Unsupported | No |
| PHP 5.4Unsupported | No |
| PHP 5.3Unsupported | No |