zerofill ne un entier php

Comment pourrais-je aller sur le "zéro de remplissage' un entier?

ie

1 becomes 0001
40 becomes 0040
174 becomes 0174
InformationsquelleAutor dotty | 2009-09-18