3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $details = "015746738"; echo substr($details, 0, strlen($details) - 2);
based on mpFmf
Output for 5.5.0 - 7.3.0alpha1
0157467