请教大师,错在哪
<?php function buildRandomString($type=1,$length=4){ if($type==1){ $chars=join("",range(0,9)); }elseif($type==2){ $chars=join("",array_merge(range("a","z"),range("A","Z"))); }elseif($type==3){ 第三、五、七、十行有错误,请问错在哪,谢谢!
<?php function buildRandomString($type=1,$length=4){ if($type==1){ $chars=join("",range(0,9)); }elseif($type==2){ $chars=join("",array_merge(range("a","z"),range("A","Z"))); }elseif($type==3){ 第三、五、七、十行有错误,请问错在哪,谢谢!
2017-11-10
举报