1--TEST--
2Test gd_info() function : variation - Checking all the values in returned array
3--EXTENSIONS--
4gd
5--SKIPIF--
6<?php
7if(!function_exists('gd_info')) {
8    die('skip gd_info function is not available');
9}
10?>
11--FILE--
12<?php
13echo "*** Testing gd_info() : variation ***\n";
14
15var_dump(gd_info());
16?>
17--EXPECTF--
18*** Testing gd_info() : variation ***
19array(%d) {
20  ["GD Version"]=>
21  string(%d) %s
22  ["FreeType Support"]=>
23  bool(%a
24  ["GIF Read Support"]=>
25  bool(%s)
26  ["GIF Create Support"]=>
27  bool(%s)
28  ["JPEG Support"]=>
29  bool(%s)
30  ["PNG Support"]=>
31  bool(%s)
32  ["WBMP Support"]=>
33  bool(%s)
34  ["XPM Support"]=>
35  bool(%s)
36  ["XBM Support"]=>
37  bool(%s)
38  ["WebP Support"]=>
39  bool(%s)
40  ["BMP Support"]=>
41  bool%a
42  ["JIS-mapped Japanese Font Support"]=>
43  bool(%s)
44}
45