|
MongoDB\BSON\Regex::getPatternReturns the Regex's pattern Description
final public string MongoDB\BSON\Regex::getPattern
( void
)
ParametersThis function has no parameters. Return ValuesReturns the Regex's pattern. Errors/Exceptions
ExamplesExample #1 MongoDB\BSON\Regex::getPattern example
<?php The above example will output something similar to: string(5) "regex" See Also |