📁 File Manager Pro
v10.0.3 | PHP: 8.2.31
Server: LiteSpeed
2026-07-02 20:09:41
📂
/ (Root)
/
opt
/
alt
/
tests
/
alt-php85-pecl-mongodb_2.3.1-1.el8
/
tests
📍 /opt/alt/tests/alt-php85-pecl-mongodb_2.3.1-1.el8/tests
🔄 Refresh
✏️
Editing: bug2456-001.phpt
Read Only
--TEST-- PHPC-2456: References passed in a typeMap --FILE-- <?php require_once __DIR__ . "/../utils/basic.inc"; $fieldPaths = []; $typeMap = ['fieldPaths' => &$fieldPaths]; var_dump(MongoDB\BSON\Document::fromPHP([])->toPHP($typeMap)); var_dump(MongoDB\BSON\PackedArray::fromPHP([])->toPHP($typeMap)); ?> ===DONE=== <?php exit(0); ?> --EXPECTF-- object(stdClass)#%d (0) { } array(0) { } ===DONE===
💾 Save Changes
❌ Cancel