uawdijnntqw1x1x1
IP : 3.149.25.26
Hostname : host45.registrar-servers.com
Kernel : Linux host45.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
home
/
..
/
.
/
.
/
opt
/
alt
/
tests
/
alt-php82-pecl-mongodb_1.18.1-1.el8
/
tests
/
bson-packedarray-get-002.phpt
/
/
--TEST-- MongoDB\BSON\PackedArray::get() index access returns BSON structures --FILE-- <?php $array = MongoDB\BSON\PackedArray::fromPHP([(object) ['foo' => 'bar']]); $child = $array->get(0); unset($array); var_dump($child); ?> ===DONE=== <?php exit(0); ?> --EXPECTF-- object(MongoDB\BSON\Document)#%d (%d) { ["data"]=> string(24) "EgAAAAJmb28ABAAAAGJhcgAA" ["value"]=> object(stdClass)#%d (%d) { ["foo"]=> string(3) "bar" } } ===DONE===
/home/../././opt/alt/tests/alt-php82-pecl-mongodb_1.18.1-1.el8/tests/bson-packedarray-get-002.phpt