Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F629709
manager-debug-001.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
588 B
Referenced Files
None
Subscribers
None
manager-debug-001.phpt
View Options
--TEST--
MongoDB\Driver\Manager: Writing debug log files
--FILE--
<?php
$name = tempnam(sys_get_temp_dir(), "PHONGO");
unlink($name);
mkdir($name);
ini_set('mongodb.debug', $name);
$manager = new MongoDB\Driver\Manager;
ini_set('mongodb.debug', 'off');
foreach (glob($name."/*") as $file) {
echo file_get_contents($file);
unlink($file);
}
rmdir($name);
?>
===DONE===
<?php exit(0); ?>
--EXPECTF--
%A[%s] PHONGO: DEBUG > Connection string: '%s'
[%s] PHONGO: DEBUG > Creating Manager, phongo-%d.%d.%d%S[%s] - mongoc-2.%s(%s), libbson-2.%s(%s), php-%s
%A===DONE===%A
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 15, 7:36 AM (1 d, 5 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
145129
Default Alt Text
manager-debug-001.phpt (588 B)
Attached To
Mode
R114 php-mongodb
Attached
Detach File
Event Timeline