MongoDB\BSON\Regex
PHP Manual

MongoDB\BSON\Regex::getPattern

(mongodb >=1.0.0)

MongoDB\BSON\Regex::getPatternDescription

Description

public ReturnType MongoDB\BSON\Regex::getPattern ( void )

Parameters

This function has no parameters.

Return Values

Errors/Exceptions

Examples

Example #1 MongoDB\BSON\Regex::getPattern() example

<?php

/* ... */

?>

The above example will output something similar to:

...

See Also


MongoDB\BSON\Regex
PHP Manual