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

(새 문서: ==개요== ; ; ; * * * ==같이 보기== * 같이보기 * 같이보기 * 같이보기 * 같이보기 ==참고== * {{위키백과}} * {{다음사전}} * {{다음백...)
 
1번째 줄: 1번째 줄:
==개요==
==개요==
;
;PHP base convert()
;
<source lang='php'>
;
$hexadecimal = 'A37334';
*
echo base_convert($hexadecimal, 16, 2);
*
# 101000110111001100110100
*
</source>
<source lang='php'>
$hex = "E196";
echo base_convert($hex,16,8);
# 160626
</source>


==같이 보기==
==같이 보기==
* [[같이보기]]
* [[PHP intval()]]
* [[같이보기]]
* [[PHP octdec()]]
* [[같이보기]]
* [[PHP decoct()]]
* [[같이보기]]
* [[PHP decbin()]]
* [[PHP bindec()]]
* [[함수 base_convert()]]


==참고==
==참고==
* {{위키백과}}
* http://php.net/manual/kr/function.base-convert.php
* {{다음사전}}
* https://www.w3schools.com/php/func_math_base_convert.asp
* {{다음백과}}
* {{네이버사전}}
* {{네이버백과}}


[[분류: 국사]]
[[분류: PHP]]
[[분류: 세계사]]
[[분류: 기수법]]
[[분류: 명사]]
[[분류: 명사]]

2017년 7월 6일 (목) 22:40 판

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 }}