PHP » GoLang |
login |
register |
about
|
GoLang MongoDB\BSON\Regex::__construct
request it (609)
GoLang replacement for PHP's MongoDB\BSON\Regex::__construct
[edit | history]
PHP MongoDB\BSON\Regex::__constructPHP original manual for MongoDB\BSON\Regex::__construct [ show | php.net ]MongoDB\BSON\Regex::__construct(mongodb >=1.0.0) MongoDB\BSON\Regex::__construct — Construct a new Regex Description
final public MongoDB\BSON\Regex::__construct
( string
$pattern
[, string $flags = ""
] )Parameters
Errors/Exceptions
Changelog
ExamplesExample #1 MongoDB\BSON\Regex::__construct() example
<?phpThe above example will output:
object(MongoDB\BSON\Regex)#1 (2) {
["pattern"]=>
string(4) "^foo"
["flags"]=>
string(1) "i"
}
|
more
Most requested
more
Last requests
|