Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<MongoDB\BSON\MaxKeyMongoDB\BSON\MaxKey::jsonSerialize>
^MongoDB\BSON\MaxKeyLast updated: Mon, 26 Oct 2026

MongoDB\BSON\MaxKey::__construct

(mongodb >=1.0.0)

MongoDB\BSON\MaxKey::__construct — Construct a new MaxKey

Description

final public function MongoDB\BSON\MaxKey::__construct()

Parameters

This function has no parameters.

Errors/Exceptions

Examples

Example #1 MongoDB\BSON\MaxKey::__construct() example

<?php

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

?>

The above example will output:

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

See Also


<MongoDB\BSON\MaxKeyMongoDB\BSON\MaxKey::jsonSerialize>
^MongoDB\BSON\MaxKeyLast updated: Mon, 26 Oct 2026