3v4l.org

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