1--TEST-- 2Test getimagesize() function : variation - For shockwave-flash format 3--EXTENSIONS-- 4zlib 5--SKIPIF-- 6<?php 7if (!defined("IMAGETYPE_SWC")) { 8 die("skip IMAGETYPE_SWC is not available"); 9} 10?> 11--FILE-- 12<?php 13echo "*** Testing getimagesize() : variation ***\n"; 14 15var_dump( getimagesize(__DIR__."/test13pix.swf", $info) ); 16var_dump( $info ); 17?> 18--EXPECT-- 19*** Testing getimagesize() : variation *** 20array(5) { 21 [0]=> 22 int(550) 23 [1]=> 24 int(400) 25 [2]=> 26 int(13) 27 [3]=> 28 string(24) "width="550" height="400"" 29 ["mime"]=> 30 string(29) "application/x-shockwave-flash" 31} 32array(0) { 33} 34