MongoRegex::__toStringA string representation of this regular expression Description
public string MongoRegex::__toString
( void
)
Returns a string representation of this regular expression. ParametersThis function has no parameters. Return ValuesThis regular expression in the form "/expr/flags". Examples
Example #1 MongoRegex::__toString example
<?php The above example will output something similar to: [a-fA-F0-9]{16} g /[a-fA-F0-9]{16}/g |