3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $phoneNo = '+4710001789'; echo substr($phoneNo, 0, 8); echo '\n'; echo substr($phoneNo, 7, 4);
based on 26O30
Output for 5.6.0 - 5.6.30, hhvm-3.18.5 - 3.22.0, 7.0.0 - 7.3.0rc3
+4710001\n1789