3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $data = 100000234512312345; echo substr($data, 0, 5); vprintf("(%d)-%d-%d",sscanf($data, "%5d%3d%5d")); ?>
based on ArGmK
Output for 4.3.0 - 7.1.0
10000(10000)-23-45123