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
/
1771.php
blob
c84de98071f6e158ea7b79c8f1b11d5dfe85a4f4
1
<
?php
2
3
$a
=
array
(
'foo'
=>
array
(
'bar'
=>
1
));
4
function
fix
(&
$v
,
$k
) {
5
$v
*=
2
;
6
}
7
array_walk_recursive
(
$a
,
'fix'
);
8
var_dump
(
$a
[
'foo'
]);