by Example
-- Choose a function --
decbin
Display the text box
decbin()
«
debug_print_backtrace
|
dechex
»
<?php
$string
=
decbin
(
12
// int $number
);
?>
Result
$string
=
'1100'
Examples
#1
decbin
(
12
)
#2
decbin
(
26
)
See also
base_convert
,
bindec
,
dechex
,
decoct
,
printf
Deutsch
English
Español
Français
Italiano
Português
Română
Türkçe
Русский
中文
日本語
Help
Misc
Config
Test
Unit test
PHP Manual
php.net
No Manual
Powered by
PHP
7.1.33 (0.02 s)
2014-2017 Michel Corne