3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php eregi_replace('[a-Z]','','sdsa asd asd');
Output for 7.0.0 - 7.1.0
Fatal error: Uncaught Error: Call to undefined function eregi_replace() in /in/ekXvm:3 Stack trace: #0 {main} thrown in /in/ekXvm on line 3
Process exited with code 255.
Output for hhvm-3.10.0 - 3.12.0
Warning: mbregex compile err: empty range in char class in /in/ekXvm on line 3
Output for 5.3.0 - 5.6.23
Deprecated: Function eregi_replace() is deprecated in /in/ekXvm on line 3 Warning: eregi_replace(): REG_ERANGE in /in/ekXvm on line 3
Output for 4.3.2 - 5.2.17
Warning: eregi_replace(): REG_ERANGE in /in/ekXvm on line 3
Output for 4.3.0 - 4.3.1
Warning: eregi_replace() [http://www.php.net/function.eregi-replace]: REG_ERANGE in /in/ekXvm on line 3