MongoDB\BSON\Regex::__constructConstruct a new Regex 説明
final public MongoDB\BSON\Regex::__construct(string
$pattern, string $flags = "")パラメータ
エラー / 例外
変更履歴
例例1 MongoDB\BSON\Regex::__construct example 上の例の出力は以下となります。
object(MongoDB\BSON\Regex)#1 (2) {
["pattern"]=>
string(4) "^foo"
["flags"]=>
string(1) "i"
}
|