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.2
/
share
/
test
/
mongodb
/
tests
/
bson
/
//proc/self/root/opt/php-7.2/share/test/mongodb/tests/bson/bson-timestamp-jsonserialize-001.phpt
--TEST-- MongoDB\BSON\Timestamp::jsonSerialize() return value --FILE-- <?php $ts = new MongoDB\BSON\Timestamp('1234', '5678'); var_dump($ts->jsonSerialize()); ?> ===DONE=== <?php exit(0); ?> --EXPECT-- array(1) { ["$timestamp"]=> array(2) { ["t"]=> int(5678) ["i"]=> int(1234) } } ===DONE===