1--TEST-- 2Bug #71848 (getimagesize with $imageinfo returns false) 3--FILE-- 4<?php 5var_dump(getimagesize(__DIR__ . '/bug71848.jpg', $info)); 6var_dump(array_keys($info)); 7?> 8===DONE=== 9--EXPECT-- 10array(7) { 11 [0]=> 12 int(8) 13 [1]=> 14 int(8) 15 [2]=> 16 int(2) 17 [3]=> 18 string(20) "width="8" height="8"" 19 ["bits"]=> 20 int(8) 21 ["channels"]=> 22 int(3) 23 ["mime"]=> 24 string(10) "image/jpeg" 25} 26array(2) { 27 [0]=> 28 string(4) "APP0" 29 [1]=> 30 string(4) "APP5" 31} 32===DONE=== 33