1--TEST--
2in_array() with references
3--FILE--
4<?php
5
6$value = 42;
7$array = [&$value];
8var_dump(in_array(42, $array, false));
9var_dump(in_array(42, $array, true));
10
11?>
12--EXPECT--
13bool(true)
14bool(true)
15