uawdijnntqw1x1x1
IP : 3.21.104.16
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-fromJSON-003.phpt
/
/
--TEST-- MongoDB\BSON\fromJSON(): Decoding JSON with duplicate field names --FILE-- <?php require_once __DIR__ . '/../utils/basic.inc'; /* Note: this is a regression test for libmongoc's JSON encoder. It is not * advisable to use duplicate keys in BSON documents. */ hex_dump(fromJSON('{ "foo": "bar", "foo": "baz" }')); ?> ===DONE=== <?php exit(0); ?> --EXPECT-- 0 : 1f 00 00 00 02 66 6f 6f 00 04 00 00 00 62 61 72 [.....foo.....bar] 10 : 00 02 66 6f 6f 00 04 00 00 00 62 61 7a 00 00 [..foo.....baz..] ===DONE===
/home/../././opt/alt/tests/alt-php82-pecl-mongodb_1.18.1-1.el8/tests/bson-fromJSON-003.phpt