repo.or.cz
/
hiphop-php.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
add bitset operations and tests
[hiphop-php.git]
/
hphp
/
test
/
slow
/
ext_array
/
1768.php
blob
6f93364cf1bc345e32b39279b19dc0424964a01a
1
<
?php
2
3
function
f
(&
$val
,
$key
) {
4
echo
"k=
$key
v=
$val\n
"
;
5
$val
=
$val
+
1
;
6
}
7
$arr
=
array
(
0
,
1
,
2
);
8
array_walk
(
$arr
,
'f'
);
9
var_dump
(
$arr
);