array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'en', ), 'this' => array ( 0 => 'class.mongodb-bson-regex.php', 1 => 'MongoDB\\BSON\\Regex', ), 'up' => array ( 0 => 'book.bson.php', 1 => 'MongoDB\\BSON', ), 'prev' => array ( 0 => 'mongodb-bson-objectid.unserialize.php', 1 => 'MongoDB\\BSON\\ObjectId::unserialize', ), 'next' => array ( 0 => 'mongodb-bson-regex.construct.php', 1 => 'MongoDB\\BSON\\Regex::__construct', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/mongodb/bson/regex.xml', ), 'extra_header_links' => array ( 'rel' => 'alternate', 'href' => '/manual/en/feeds/class.mongodb-bson-regex.atom', 'type' => 'application/atom+xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(mongodb >=1.0.0)
BSON type for a regular expression pattern and optional » flags.
Note: This BSON type is mainly used when querying the database. Alternatively, the » $regex query operator may be used.
Version | Description |
---|---|
PECL mongodb 1.12.0 | Implements Stringable for PHP 8.0+. |
PECL mongodb 1.3.0 | Implements MongoDB\BSON\RegexInterface. |
PECL mongodb 1.2.0 | Implements Serializable and JsonSerializable. |