Requests_IRI::replace_invalid_with_pct_encoding( string $string, string $extra_chars, bool $iprivate = false ): string

In this article

Replace invalid character with percent encoding

Parameters

$stringstringrequired
Input string
$extra_charsstringrequired
Valid characters not in iunreserved or iprivate (this is ASCII-only)
$iprivatebooloptional
Allow iprivate

Default:false

Return

string

Source

User Contributed Notes

You must log in before being able to contribute a note or feedback.