PHP 8.1.28 Released!

MongoDB\BSON\MaxKey::__construct

(mongodb >=1.0.0)

MongoDB\BSON\MaxKey::__constructConstruit un nouveau MaxKey

Description

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

Liste de paramètres

Cette fonction ne contient aucun paramètre.

Erreurs / Exceptions

  • Lance une exception MongoDB\Driver\InvalidArgumentException lors d'une erreur survenue pendant l'analyse d'un argument.

Exemples

Exemple #1 Exemple avec MongoDB\BSON\MaxKey::__construct()

<?php

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

?>

L'exemple ci-dessus va afficher :

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

Voir aussi

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top