xref: /PHP-5.3/ext/standard/tests/image/bug13213.phpt (revision 6fc22aa5)
1--TEST--
2Bug #13213 (GetImageSize and wrong JPEG Comments)
3--FILE--
4<?php
5var_dump(GetImageSize(dirname(__FILE__).'/bug13213.jpg'));
6?>
7--EXPECT--
8array(7) {
9  [0]=>
10  int(1)
11  [1]=>
12  int(1)
13  [2]=>
14  int(2)
15  [3]=>
16  string(20) "width="1" height="1""
17  ["bits"]=>
18  int(8)
19  ["channels"]=>
20  int(3)
21  ["mime"]=>
22  string(10) "image/jpeg"
23}
24