"PHP random bytes()"의 두 판 사이의 차이

잔글 (봇: 자동으로 텍스트 교체 (-== 참고 자료 == +==참고==))
2번째 줄: 2번째 줄:
;PHP random_bytes()
;PHP random_bytes()


<source lang='php'>
<source lang='php' run>
$bytes = random_bytes(5);
$bytes = random_bytes(5);
var_dump(bin2hex($bytes));
var_dump(bin2hex($bytes));
# string(10) "385e33f741"
</source>
</source>



2020년 2월 21일 (금) 01:38 판

1 개요

PHP random_bytes()
$bytes = random_bytes(5);
var_dump(bin2hex($bytes));

2 같이 보기

3 참고

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}