Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Oct 18th, 2017
62
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
function
isPrime
(
$number
)
{
for
(
$x
=
$number
-
1
;
$x
>
1
;
$x
--
)
{
if
(
$number
%
$x
==
0
)
{
return
false
;
}
}
return
true
;
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
Untitled
C# | 2 min ago | 1.69 KB
MedkitScript (Quantity System)
CSS | 2 min ago | 2.17 KB
Stack/Queue/Deque
C++ | 5 min ago | 2.89 KB
Untitled
C# | 12 min ago | 0.40 KB
Tool with Stacks (Quantity System)
CSS | 15 min ago | 0.61 KB
Untitled
C# | 20 min ago | 1.39 KB
Untitled
C# | 21 min ago | 0.71 KB
Untitled
C# | 23 min ago | 0.44 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!