Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
opt
/
php-8.2.24-202410171016
/
share
/
test
/
mongodb
/
tests
/
bson
/
//opt/php-8.2.24-202410171016/share/test/mongodb/tests/bson/bson-packedarray-toPHP-005.phpt
--TEST-- MongoDB\BSON\PackedArray::toPHP(): int64 values are returned as Int64 instances --FILE-- <?php $bson = MongoDB\BSON\PackedArray::fromPHP([ 123, new MongoDB\BSON\Int64(123), ]); var_dump($bson->toPHP()); ?> ===DONE=== <?php exit(0); ?> --EXPECTF-- array(2) { [0]=> int(123) [1]=> object(MongoDB\BSON\Int64)#%d (1) { ["integer"]=> string(3) "123" } } ===DONE===