1--TEST--
2GetImageSize() with 384x385 pixels
3--SKIPIF--
4<?php
5	require_once('skipif_imagetype.inc');
6?>
7--FILE--
8<?php
9	// Note: SWC requires zlib
10	$dir = opendir(__DIR__) or die('cannot open directory: '.__DIR__);
11	$result = array();
12	$files  = array();
13	while (($file = readdir($dir)) !== FALSE) {
14		if (preg_match('/^384x385\./',$file)) {
15			$files[] = $file;
16		}
17	}
18	closedir($dir);
19	sort($files);
20	foreach($files as $file) {
21		$result[$file] = getimagesize(__DIR__."/$file");
22	}
23	var_dump($result);
24?>
25--EXPECT--
26array(1) {
27  ["384x385.png"]=>
28  array(6) {
29    [0]=>
30    int(384)
31    [1]=>
32    int(385)
33    [2]=>
34    int(3)
35    [3]=>
36    string(24) "width="384" height="385""
37    ["bits"]=>
38    int(1)
39    ["mime"]=>
40    string(9) "image/png"
41  }
42}
43