1--TEST-- 2GetImageSize() for compressed swf files 3--SKIPIF-- 4<?php 5 if (!defined("IMAGETYPE_SWC") || !extension_loaded('zlib')) { 6 die("skip zlib extension is not available"); 7 } 8?> 9--FILE-- 10<?php 11 var_dump(getimagesize(dirname(__FILE__) . "/test13pix.swf")); 12?> 13--EXPECT-- 14array(5) { 15 [0]=> 16 int(550) 17 [1]=> 18 int(400) 19 [2]=> 20 int(13) 21 [3]=> 22 string(24) "width="550" height="400"" 23 ["mime"]=> 24 string(29) "application/x-shockwave-flash" 25} 26