3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo(str_replace('+7', '8', preg_replace('%-|\(|\)|\s%', '', '+77027239298')));
Output for 5.3.18 - 7.2.11
87027239298