Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Loop + Array = foreach
ujiajah1
Aug 21st, 2016
155
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
PHP
0.13 KB
| None
|
0
0
raw
download
clone
embed
print
report
$arr_bahasa
=
array
(
"JavaScript"
,
"HTML/CSS"
,
"PHP"
,
"Python"
)
;
foreach
(
$arr_bahasa
as
$bahasa
)
{
echo
$bahasa
.
"
\n
"
;
}
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
Roblox Scripts
3 min ago | 0.02 KB
December smells like money
13 min ago | 0.06 KB
Decentralized Moneys
1 hour ago | 0.42 KB
Bitcoin
1 hour ago | 0.23 KB
Untitled
2 hours ago | 13.75 KB
Untitled
2 hours ago | 0.06 KB
SmartOS Zombie Zone Cleanup Script
Bash | 5 hours ago | 3.78 KB
Untitled
6 hours ago | 3.86 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!