--TEST--
MongoDB\BSON\Regex debug handler with flags omitted
--FILE--
<?php
$regex = new MongoDB\BSON\Regex('regexp');
var_dump($regex);
?>
===DONE===
<?php exit(0); ?>
--EXPECTF--
object(MongoDB\BSON\Regex)#%d (%d) {
["pattern"]=>
string(6) "regexp"
["flags"]=>
string(0) ""
}
===DONE===
Back to Directory