3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $newNumber = preg_replace("/^0/", "+", 07512345678); echo $newNumber; ?>
based on dM1XI
Output for 7.0.0 - 7.0.2
Parse error: Invalid numeric literal in /in/sn51c on line 2
Process exited with code 255.
Output for 5.3.21 - 5.6.28
128268663