mirror of
https://github.com/macintoshplus/mongo-php-driver.git
synced 2026-04-28 19:13:15 +02:00
17 lines
318 B
PHP
17 lines
318 B
PHP
--TEST--
|
|
MongoDB\BSON\ObjectId #004 Constructor supports uppercase hexadecimal strings
|
|
--FILE--
|
|
<?php
|
|
|
|
var_dump(new MongoDB\BSON\ObjectId('56925B7330616224D0000001'));
|
|
|
|
?>
|
|
===DONE===
|
|
<?php exit(0); ?>
|
|
--EXPECTF--
|
|
object(MongoDB\BSON\ObjectId)#%d (%d) {
|
|
["oid"]=>
|
|
string(24) "56925b7330616224d0000001"
|
|
}
|
|
===DONE===
|