3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(urlencode('Денис Сергеевич')); var_dump(htmlspecialchars('%D0%94%D0%B5%D0%BD%D0%B8%D1%81+%D0%A1%D0%B5%D1%80%D0%B3%D0%B5%D0%B5%D0%B2%D0%B8%D1%87', ENT_COMPAT, 'UTF-8'); var_dump(htmlspecialchars('%C4%E5%ED%E8%F1+%D1%E5%F0%E3%E5%E5%E2%E8%F7', ENT_COMPAT, 'UTF-8'))
based on LfAlE
Output for 7.0.0
Parse error: syntax error, unexpected ';', expecting ',' or ')' in /in/P5TBB on line 4
Process exited with code 255.
Output for 5.3.20 - 5.6.16
Parse error: syntax error, unexpected ';' in /in/P5TBB on line 4
Process exited with code 255.