1--TEST-- 2ldap_read() does not modify $attributes array 3--SKIPIF-- 4<?php 5if (!extension_loaded('ldap')) die('skip ldap extension not available'); 6?> 7--FILE-- 8<?php 9$array = [123, 456, 789]; 10@ldap_read(null, null, null, $array); 11var_dump($array); 12?> 13--EXPECT-- 14array(3) { 15 [0]=> 16 int(123) 17 [1]=> 18 int(456) 19 [2]=> 20 int(789) 21} 22