converter 1 dígito em cinco dígitos

sprintf("%04d", $num)
Snippets