Files
mongo-php-driver/tests/bson/bson-maxkeyinterface-001.phpt
T
Jeremy Mikola 36487bc0a9 PHPC-640: Create interfaces for BSON types classes
These interfaces are implemented by the corresponding BSON classes and intended to be used by TypeWrapper implementations.
2017-08-03 11:18:56 -04:00

15 lines
252 B
PHP

--TEST--
MongoDB\BSON\MaxKeyInterface is implemented by MongoDB\BSON\MaxKey
--FILE--
<?php
$maxkey = new MongoDB\BSON\MaxKey;
var_dump($maxkey instanceof MongoDB\BSON\MaxKeyInterface);
?>
===DONE===
<?php exit(0); ?>
--EXPECT--
bool(true)
===DONE===