1--TEST--
2Test getimagesize() function : variation - For shockwave-flash format
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/* Prototype  : array getimagesize(string imagefile [, array info])
12 * Description: Get the size of an image as 4-element array
13 * Source code: ext/standard/image.c
14 */
15
16echo "*** Testing getimagesize() : variation ***\n";
17
18var_dump( getimagesize(dirname(__FILE__)."/test13pix.swf", $info) );
19var_dump( $info );
20?>
21===DONE===
22--EXPECT--
23*** Testing getimagesize() : variation ***
24array(5) {
25  [0]=>
26  int(550)
27  [1]=>
28  int(400)
29  [2]=>
30  int(13)
31  [3]=>
32  string(24) "width="550" height="400""
33  ["mime"]=>
34  string(29) "application/x-shockwave-flash"
35}
36array(0) {
37}
38===DONE===
39