Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Dec 13th, 2018
79
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
PHP
0.17 KB
| None
|
0
0
raw
download
clone
embed
print
report
<?php
function
decbin2
(
$num
)
{
while
(
$num
>=
1
)
{
$bin
.=
$num
%
2
;
$num
/=
2
;
}
return
(
$num
<
1
)
?
"0"
:
strrev
(
$bin
)
;
}
?>
Add Comment
Please,
Sign In
to add comment
Public Pastes
Cardano Foundation Unveils Interim Constituti...
PHP | 3 min ago | 0.10 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 15 min ago | 0.39 KB
Create Spline from code
C# | 21 min ago | 0.73 KB
Crypto Exchange Binance Secures Full VASP Lic...
PHP | 36 min ago | 0.08 KB
Untitled
C# | 44 min ago | 22.13 KB
Untitled
PHP | 50 min ago | 0.97 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 1 hour ago | 0.38 KB
cloneRecord
JavaScript | 2 hours ago | 0.83 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!