run code in 200+ php & hhvm versions
Bugs & Features
<?php echo preg_replace('/other\s*:\s*partner previously paid/', 'test', 'other:partner previously paid') . PHP_EOL; echo ereg_replace('/other[ ]*:[ ]*partner previously paid/', 'test', 'other:partner previously paid');
based on bYPl3
Output for 7.0.0 - 7.2.0
test Fatal error: Uncaught Error: Call to undefined function ereg_replace() in /in/g9OUk:4 Stack trace: #0 {main} thrown in /in/g9OUk on line 4
Process exited with code 255.
Output for 5.3.20 - 5.6.28
test Deprecated: Function ereg_replace() is deprecated in /in/g9OUk on line 4 other:partner previously paid