File manager - Edit - /opt/cpanel/ea-php74/root/usr/share/tests/pecl/mongodb/tests/bson/bson-int64-set_state-001.phpt
Back
--TEST-- MongoDB\BSON\Int64::__set_state() --FILE-- <?php $int64 = new MongoDB\BSON\Int64(2); $s = var_export($int64, true); echo $s, "\n"; var_dump(eval('return ' . $s . ';')); ?> ===DONE=== <?php exit(0); ?> --EXPECTF-- %r\\?%rMongoDB\BSON\Int64::__set_state(array( 'integer' => '2', )) object(MongoDB\BSON\Int64)#%d (%d) { ["integer"]=> string(1) "2" } ===DONE===
| ver. 1.4 |
Github
|
.
| PHP 8.2.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings