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); $raw_string = rawurldecode($raw_string); var_dump($raw_string);
Output for 4.3.0 - 5.6.28, hhvm-3.12.0, 7.0.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" string(30) "защита данных.html"
Output for hhvm-3.10.0

Process exited with code 153.