BSON\Regex
PHP Manual

BSON\Regex::__construct

(mongodb >=0.2.0)

BSON\Regex::__constructDescription

Description

public BSON\Regex::__construct ( string $pattern , string $flags )

Parameters

pattern

flags

Return Values

Errors/Exceptions

Examples

Example #1 BSON\Regex::__construct() example

<?php

/* ... */

?>

The above example will output something similar to:

...

See Also


BSON\Regex
PHP Manual