3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $string = urlencode('защита данных.html'); var_dump($string); $string = urldecode($string); var_dump($string); $raw_string = rawurlencode('защита данных.html'); var_dump($raw_string); echo rawurldecode("/%D0%B7%D0%B0%D1%89%D0%B8%D1%82%D0%B0%20%D0%B4%D0%B0%D0%BD%D0%BD%D1%8B%D1%85.html");
Output for 4.3.0 - 7.1.0
string(78) "%D0%B7%D0%B0%D1%89%D0%B8%D1%82%D0%B0+%D0%B4%D0%B0%D0%BD%D0%BD%D1%8B%D1%85.html" string(30) "защита данных.html" string(80) "%D0%B7%D0%B0%D1%89%D0%B8%D1%82%D0%B0%20%D0%B4%D0%B0%D0%BD%D0%BD%D1%8B%D1%85.html" /защита данных.html