1--TEST-- 2GetImageSize() for wbmp format 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() : wbmp format ***\n"; 12var_dump(getimagesize(dirname(__FILE__) . "/75x50.wbmp", $arr)); 13var_dump($arr); 14 15?> 16===DONE=== 17--EXPECT-- 18*** Testing getimagesize() : wbmp format *** 19array(5) { 20 [0]=> 21 int(75) 22 [1]=> 23 int(50) 24 [2]=> 25 int(15) 26 [3]=> 27 string(22) "width="75" height="50"" 28 ["mime"]=> 29 string(18) "image/vnd.wap.wbmp" 30} 31array(0) { 32} 33===DONE=== 34