php 自动补位

1  sprintf("%06d", 2);

2  str_pad();

 

posted @ 2014-05-20 14:45  独行客  阅读(387)  评论(0编辑  收藏  举报