File manager - Edit - /opt/cpanel/ea-php74/root/usr/share/tests/pecl/mongodb/tests/bson/bson-binary-jsonserialize-001.phpt
Back
--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===
| ver. 1.4 |
Github
|
.
| PHP 8.2.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings