Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F631081
bson-binary-get_properties-002.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
356 B
Referenced Files
None
Subscribers
None
bson-binary-get_properties-002.phpt
View Options
--TEST--
MongoDB\BSON\Binary get_properties handler (foreach)
--FILE--
<?php
$binary = new MongoDB\BSON\Binary('foobar', MongoDB\BSON\Binary::TYPE_GENERIC);
foreach ($binary as $key => $value) {
var_dump($key);
var_dump($value);
}
?>
===DONE===
<?php exit(0); ?>
--EXPECT--
string(4) "data"
string(6) "foobar"
string(4) "type"
int(0)
===DONE===
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 15, 11:05 AM (17 h, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
132421
Default Alt Text
bson-binary-get_properties-002.phpt (356 B)
Attached To
Mode
R114 php-mongodb
Attached
Detach File
Event Timeline