문자열 랜덤으로...

PHP 2020. 4. 20. 15:38

728x90
$str = str_shuffle("abcdefghijklmnopqrstuvwxyz0123456789");
echo substr($str, 0, 10);

 

반응형

댓글 0