Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
proc
/
self
/
root
/
opt
/
php-7.4
/
share
/
test
/
mongodb
/
tests
/
bson
/
//proc/self/root/opt/php-7.4/share/test/mongodb/tests/bson/bson-binary-jsonserialize-001.phpt
--TEST-- MongoDB\BSON\Binary::jsonSerialize() return value --FILE-- <?php $binary = new MongoDB\BSON\Binary('gargleblaster', 24); var_dump($binary->jsonSerialize()); ?> ===DONE=== <?php exit(0); ?> --EXPECT-- array(2) { ["$binary"]=> string(20) "Z2FyZ2xlYmxhc3Rlcg==" ["$type"]=> string(2) "18" } ===DONE===