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

(새 문서: ==개요== ; ; ; * * * ==같이 보기== * 같이보기 * 같이보기 * 같이보기 * 같이보기 ==참고== * {{위키백과}} * {{다음사전}} * {{다음백...)
 
 
(사용자 2명의 중간 판 3개는 보이지 않습니다)
1번째 줄: 1번째 줄:
==개요==
==개요==
;
{{DISPLAYTITLE:PHP base_convert()}}
;
;PHP base_convert()
;
<syntaxhighlight lang='php' run>
*
$hexadecimal = 'a37334';
*
echo base_convert($hexadecimal, 16, 2); # 101000110111001100110100
*
</syntaxhighlight>
<syntaxhighlight lang='php' run>
$hex = "E196";
echo base_convert($hex,16,8); # 160626
</syntaxhighlight>


==같이 보기==
==같이 보기==
* [[같이보기]]
* [[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]]
[[분류: 세계사]]
[[분류: 기수법]]
[[분류: 명사]]
[[분류: 명사]]

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