php8.5
Home/ Manual/ bson / maxkey/ MongoDB\BSON\MaxKey::__construct

MongoDB\BSON\MaxKey::__construct

PHP function Edit on GitHub ✎

(mongodb >=1.0.0)

Construct a new MaxKey

Description

MongoDB\BSON\MaxKey::__construct()

Parameters Parameters

Errors/Exceptions

Examples

MongoDB\BSON\MaxKey::__construct() example

php
<?php

var_dump(new MongoDB\BSON\MaxKey());

?>

The above example will output:

output
object(MongoDB\BSON\MaxKey)#1 (0) {
}

See Also

  • BSON Types

Source: reference/mongodb/bson/maxkey/construct.xml · from the official PHP manual (php/doc-en)