3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $d = '3459965'; echo substr($d, -9, 2) . "." . substr($d, -6, 3) . "." . substr($d, -3, 3);
Output for 4.3.0 - 5.2.1, 5.2.7 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
34.459.965
Output for 5.2.2 - 5.2.6
.459.965