Arquivos
hhvm/hphp/test/slow/array_object/offsetSet.php.expect
T
Paul Tarjan cef8fcc6e3 add ArrayObject
This is a pure PHP implementation of ArrayObject. It does't match the reference semantics of zend's implementation, but it is much easier to build this in pure PHP, so its a good first step. It is better to have it like this, than to not have it at all.
2013-05-24 09:48:22 -07:00

36 linhas
696 B
Plaintext

object(ArrayObject)#1 (3) {
["storage":"ArrayObject":private]=>
object(Example)#2 (3) {
["property"]=>
string(11) "prop:public"
["4"]=>
string(4) "four"
["group"]=>
array(2) {
[0]=>
string(2) "g1"
[1]=>
string(2) "g2"
}
}
["flags":"ArrayObject":private]=>
int(0)
["iteratorClass":"ArrayObject":private]=>
string(13) "ArrayIterator"
}
object(ArrayObject)#3 (3) {
["storage":"ArrayObject":private]=>
array(3) {
[0]=>
string(4) "zero"
[1]=>
string(3) "one"
[""]=>
string(4) "last"
}
["flags":"ArrayObject":private]=>
int(0)
["iteratorClass":"ArrayObject":private]=>
string(13) "ArrayIterator"
}