一段字符串生成一个固定四位数字

 substr(abs(crc32($project->name())),0,4)   
posted @ 2016-11-03 15:45  午时的海  阅读(546)  评论(0)    收藏  举报