array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'en', ), 'this' => array ( 0 => 'class.mongodb-bson-timestampinterface.php', 1 => 'MongoDB\\BSON\\TimestampInterface', ), 'up' => array ( 0 => 'book.bson.php', 1 => 'MongoDB\\BSON', ), 'prev' => array ( 0 => 'mongodb-bson-regexinterface.tostring.php', 1 => 'MongoDB\\BSON\\RegexInterface::__toString', ), 'next' => array ( 0 => 'mongodb-bson-timestampinterface.getincrement.php', 1 => 'MongoDB\\BSON\\TimestampInterface::getIncrement', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/mongodb/bson/timestampinterface.xml', ), 'extra_header_links' => array ( 'rel' => 'alternate', 'href' => '/manual/en/feeds/class.mongodb-bson-timestampinterface.atom', 'type' => 'application/atom+xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(mongodb >=1.3.0)
This interface is implemented by MongoDB\BSON\Timestamp to be used as a parameter, return, or property type in userland classes.
Version | Description |
---|---|
PECL mongodb 1.15.0 |
Return types for methods are declared as tentative on PHP 8.0 and newer,
triggering deprecation notices in code that implements this interface
without declaring the appropriate return types. The #[ReturnTypeWillChange]
attribute can be added to silence the deprecation notice.
|