rawurlencode
PHP 4, PHP 5, PHP 7, PHP 8
rawurlencode - URL-encode according to RFC 3986
Example #1 including a password in an FTP URL
Example #2 rawurlencode example 2
Result: <a href="http://example.com/department_list_script/sales%20and%20marketing%2FMiami">
Example #3 of rawurlencode