3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(html_entity_decode($string, ENT_QUOTES, "UTF-8")); var_dump(mb_convert_encoding("â€", "HTML-ENTITIES", "UTF-8"));
Output for 5.0.4 - 7.1.0
Notice: Undefined variable: string in /in/XlZAg on line 3 string(0) "" string(13) "&acirc;&euro;"
Output for 4.3.2 - 5.0.3
Notice: Undefined variable: string in /in/XlZAg on line 3 string(0) "" string(13) "&acirc;&euro;"
Output for 4.3.0 - 4.3.1
Notice: Undefined variable: string in /in/XlZAg on line 3
Process exited with code 139.