3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $respuesta="ashjjaaáéíóúajajda"; echo $respuesta= ereg_replace("/[^\x00-\x7F]+/", "", $respuesta);
based on DWCBp
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught Error: Call to undefined function ereg_replace() in /in/eGOaA:6 Stack trace: #0 {main} thrown in /in/eGOaA on line 6
Process exited with code 255.
Output for 5.3.21 - 5.6.28
Deprecated: Function ereg_replace() is deprecated in /in/eGOaA on line 6 Warning: ereg_replace(): REG_EBRACK in /in/eGOaA on line 6