Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F619131
serverApi-debug.phpt
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
Unknown
Size
885 B
Referenced Files
None
Subscribers
None
serverApi-debug.phpt
View Options
--TEST--
MongoDB\Driver\ServerApi debug output
--FILE--
<?php
var_dump(new MongoDB\Driver\ServerApi('1'));
var_dump(new MongoDB\Driver\ServerApi('1', true));
var_dump(new MongoDB\Driver\ServerApi('1', null, true));
var_dump(new MongoDB\Driver\ServerApi('1', false, false));
?>
===DONE===
<?php exit(0); ?>
--EXPECTF--
object(MongoDB\Driver\ServerApi)#%d (%d) {
["version"]=>
string(1) "1"
["strict"]=>
NULL
["deprecationErrors"]=>
NULL
}
object(MongoDB\Driver\ServerApi)#%d (%d) {
["version"]=>
string(1) "1"
["strict"]=>
bool(true)
["deprecationErrors"]=>
NULL
}
object(MongoDB\Driver\ServerApi)#%d (%d) {
["version"]=>
string(1) "1"
["strict"]=>
NULL
["deprecationErrors"]=>
bool(true)
}
object(MongoDB\Driver\ServerApi)#%d (%d) {
["version"]=>
string(1) "1"
["strict"]=>
bool(false)
["deprecationErrors"]=>
bool(false)
}
===DONE===
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 14, 4:21 PM (9 h, 10 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
146848
Default Alt Text
serverApi-debug.phpt (885 B)
Attached To
Mode
R114 php-mongodb
Attached
Detach File
Event Timeline