3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function clean_field($content){ $result = htmlentities($content, ENT_COMPAT | ENT_IGNORE, "UTF-8"); return $result; } echo clean_fields(" uyhweifyh "); echo clean_fields(""); echo clean_fields(NULL); echo clean_fields(" Basti&#243;n SL "); echo clean_fields("'Basti&#243;n SL'"); ?>
based on CNsFe
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught Error: Call to undefined function clean_fields() in /in/PPgX4:9 Stack trace: #0 {main} thrown in /in/PPgX4 on line 9
Process exited with code 255.
Output for 5.3.18 - 5.6.21
Fatal error: Call to undefined function clean_fields() in /in/PPgX4 on line 9
Process exited with code 255.