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
13 linhas
213 B
PHP
13 linhas
213 B
PHP
<?php
|
|
|
|
$ar1 = array(
|
|
"color" => array("favoritte" => "red"),
|
|
5
|
|
);
|
|
$ar2 = array(
|
|
10,
|
|
array("color" => array("favorite" => "green", "blue"))
|
|
);
|
|
$r = array_replace_recursive($ar1, array($ar2));
|
|
var_dump($r);
|