Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Aug 17th, 2018
88
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.19 KB
| None
|
0
0
raw
download
clone
embed
print
report
Detect number and wrap specific function?
$num = 123123123;
if( substr($num, 0, 2) == '04' )
{
// call first function
}
elseif( substr($num, 0, 4) == '1300' )
{
// call other function
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🎁
GetText | 27 min ago | 0.38 KB
updated_ms_spyware_host_list
BrainFuck | 29 min ago | 1.34 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 34 min ago | 0.39 KB
Gerenciador de Senhas 2
Python | 37 min ago | 9.12 KB
Untitled
C | 1 hour ago | 3.47 KB
wpf console
C# | 1 hour ago | 1.04 KB
Tid
Python | 1 hour ago | 0.24 KB
Router CVLC dual wan
TypoScript | 1 hour ago | 8.15 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!