xref: /PHP-7.0/ext/gd/tests/bug74031.phpt (revision 4d6f808c)
1--TEST--
2(Bug #74031) ReflectionFunction for imagepng returns wrong number of parameters
3--SKIPIF--
4<?php
5if (!extension_loaded('gd')) die("skip gd extension not available\n");
6?>
7--FILE--
8<?php
9
10$ref = new ReflectionFunction('imagepng');
11var_dump(count($ref->getParameters()));
12?>
13--EXPECT--
14int(4)
15