run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(ereg_replace('toto', 'tata', 'to est trop toto'));
based on 1iANR
Output for 7.0.0 - 7.1.0RC3
Fatal error: Uncaught Error: Call to undefined function ereg_replace() in /in/VGLFA:2 Stack trace: #0 {main} thrown in /in/VGLFA on line 2
Process exited with code 255.
Output for 4.3.0 - 5.2.17, hhvm-3.10.0 - 3.12.0
string(16) "to est trop tata"
Output for 5.3.0 - 5.6.21
Deprecated: Function ereg_replace() is deprecated in /in/VGLFA on line 2 string(16) "to est trop tata"