--TEST-- Bug #53427 + emulate_read (stream_select does not preserve keys) --FILE-- --EXPECTF-- array(2) { [1]=> resource(%d) of type (stream) ["myindex"]=> resource(%d) of type (stream) } array(2) { [1]=> resource(%d) of type (stream) ["myindex"]=> resource(%d) of type (stream) } array(2) { [1]=> resource(%d) of type (stream) ["myindex"]=> resource(%d) of type (stream) }