3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $prefix = (string) 1234; $id = (string) 3; $number = $prefix . str_repeat('0', 12 - strlen($prefix) - strlen($id)) . $id; return $number;
Output for 4.3.0 - 7.1.0