1--TEST--
2GetImageSize() for tiff format with big-endian (aka Motorola, aka MM) ordering
3--FILE--
4<?php
5/* Prototype  : proto array getimagesize(string imagefile [, array info])
6 * Description: Get the size of an image as 4-element array
7 * Source code: ext/standard/image.c
8 * Alias to functions:
9 */
10
11echo "*** Testing getimagesize() : tiff_mm format ***\n";
12var_dump(getimagesize(dirname(__FILE__) . "/2x2mm.tif", $arr));
13var_dump($arr);
14
15?>
16===DONE===
17--EXPECT--
18*** Testing getimagesize() : tiff_mm format ***
19array(5) {
20  [0]=>
21  int(2)
22  [1]=>
23  int(2)
24  [2]=>
25  int(8)
26  [3]=>
27  string(20) "width="2" height="2""
28  ["mime"]=>
29  string(10) "image/tiff"
30}
31array(0) {
32}
33===DONE===
34