Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
apply function on array/multi array recursively
iamaamir
Jul 26th, 2017
97
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
function
wash
(
$d
)
{
if
(
is_array
(
$d
)
)
{
foreach
(
$d
as
$k
=>&
$v
)
{
$d
[
$k
]
=
wash
(
$v
)
;
}
}
else
{
return
you_function
(
$d
)
;
}
return
$d
;
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 4 min ago | 0.39 KB
cipher_tool_101
Python | 38 min ago | 15.28 KB
CBC Pitch Calculator
Lua | 45 min ago | 3.14 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 💰
GetText | 49 min ago | 0.38 KB
Vape UI
Lua | 1 hour ago | 69.28 KB
Voice pack
LScript | 1 hour ago | 6.47 KB
Esp32 Rainmaker controller
C++ | 1 hour ago | 8.39 KB
Untitled
CSS | 1 hour ago | 6.50 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!