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\RegexInterfaceMongoDB\BSON\RegexInterface::getPattern>
^MongoDB\BSON\RegexInterfaceLast updated: Mon, 26 Oct 2026

MongoDB\BSON\RegexInterface::getFlags

(mongodb >=1.3.0)

MongoDB\BSON\RegexInterface::getFlags — Returns the RegexInterface's flags

Description

abstract public function MongoDB\BSON\RegexInterface::getFlags(): string

Parameters

This function has no parameters.

Return Values

Returns the RegexInterface's flags.

See Also


<MongoDB\BSON\RegexInterfaceMongoDB\BSON\RegexInterface::getPattern>
^MongoDB\BSON\RegexInterfaceLast updated: Mon, 26 Oct 2026