1--TEST--
2ldap_read() does not modify $attributes array
3--EXTENSIONS--
4ldap
5--FILE--
6<?php
7$array = [123, 456, 789];
8try {
9  ldap_read(null, '', '', $array);
10} catch (TypeError $err) {}
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