Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
proc
/
thread-self
/
root
/
opt
/
php-8.0
/
share
/
test
/
mongodb
/
tests
/
query
/
//proc/thread-self/root/opt/php-8.0/share/test/mongodb/tests/query/bug0430-001.phpt
--TEST-- PHPC-430: Query constructor arguments are modified --FILE-- <?php $filter = []; $options = ['sort' => ['x' => 1]]; $query = new MongoDB\Driver\Query($filter, $options); var_dump($filter); var_dump($options); ?> ===DONE=== <?php exit(0); ?> --EXPECT-- array(0) { } array(1) { ["sort"]=> array(1) { ["x"]=> int(1) } } ===DONE===