9e127b9831
Most of this is ported over, except some omissions:
- array_filter, array_key_exists (suspected we had coverage already;
one is a bytecode, and one was rewritten in hhas recently)
- some random cases distinguishing init_null_variant vs. null_variant
11 linhas
218 B
PHP
11 linhas
218 B
PHP
<?php
|
|
|
|
function test_print($item,$key) {
|
|
echo "$key: $item\n";
|
|
}
|
|
|
|
$sweet = array("a" => "apple", "b" => "banana");
|
|
$fruits = array("sweet" => $sweet, "sour" => "lemon");
|
|
|
|
array_walk_recursive($fruits, "test_print");
|