3v4l.org

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