Arquivos
hhvm/hphp/test/slow/ext_array/array_replace.php.expect
T
Jordan DeLong 9e127b9831 Rewrite TestExtArray in php
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
2013-06-18 16:23:18 -07:00

56 linhas
610 B
Plaintext

array(3) {
["color"]=>
string(3) "red"
[0]=>
array(5) {
[0]=>
string(1) "a"
[1]=>
string(1) "b"
["color"]=>
string(5) "green"
["shape"]=>
string(9) "trapezoid"
[2]=>
int(4)
}
[1]=>
int(4)
}
array(1) {
[0]=>
array(1) {
[1]=>
string(4) "data"
}
}
array(1) {
[1]=>
string(4) "data"
}
array(1) {
[0]=>
array(1) {
[1]=>
string(3) "bar"
}
}
array(2) {
["one"]=>
int(1)
[0]=>
array(1) {
["two"]=>
&int(2)
}
}
array(2) {
[100000000000022]=>
int(1)
[0]=>
array(1) {
[100000000000022]=>
int(2)
}
}