Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Dec 13th, 2018
85
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
PHP
0.19 KB
| None
|
0
0
raw
download
clone
embed
print
report
<?php
function
decbin2
(
$num
)
{
$num2
=
$num
;
while
(
$num
>=
1
)
{
$bin
.=
$num
%
2
;
$num
/=
2
;
}
return
(
$num2
<
1
)
?
0
:
(
int
)
strrev
(
$bin
)
;
}
?>
Add Comment
Please,
Sign In
to add comment
Public Pastes
Check kid in
YAML | 30 min ago | 0.61 KB
hk1test
JSON | 33 min ago | 13.53 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 35 min ago | 0.39 KB
hk1whs_test
JSON | 36 min ago | 0.84 KB
!!!!!
Email | 1 hour ago | 0.15 KB
Receiver 3.0.7
Lua | 1 hour ago | 0.95 KB
python count to one hundred in strings
Python | 2 hours ago | 0.77 KB
Pseudo-multiple inheritance
JavaScript | 4 hours ago | 0.60 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!