"PHP base convert()"의 두 판 사이의 차이

 
3번째 줄: 3번째 줄:
;PHP base_convert()
;PHP base_convert()
<syntaxhighlight lang='php' run>
<syntaxhighlight lang='php' run>
$hexadecimal = 'A37334';
$hexadecimal = 'a37334';
echo base_convert($hexadecimal, 16, 2); # 101000110111001100110100
echo base_convert($hexadecimal, 16, 2); # 101000110111001100110100
</syntaxhighlight>
</syntaxhighlight>

2021년 5월 5일 (수) 17:51 기준 최신판

1 개요[ | ]

PHP base_convert()
$hexadecimal = 'a37334';
echo base_convert($hexadecimal, 16, 2); # 101000110111001100110100
$hex = "E196"; 
echo base_convert($hex,16,8); # 160626

2 같이 보기[ | ]

3 참고[ | ]

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