1--TEST--
2Don't replace IN_ARRAY result type if the using opcode doesn't support it
3--FILE--
4<?php
5
6function test($v) {
7    $ary = ['x', 'y'];
8    var_dump(in_array($v, $ary));
9}
10test('x');
11
12?>
13--EXPECT--
14bool(true)
15