summaryrefslogtreecommitdiff
path: root/ext/gd/tests/bug74031.phpt
blob: 5a2b48367842517ca4cd2841ecc15f61fc0f61ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--TEST--
(Bug #74031) ReflectionFunction for imagepng returns wrong number of parameters
--SKIPIF--
<?php
if (!extension_loaded('gd')) die("skip gd extension not available\n");
?>
--FILE--
<?php

$ref = new ReflectionFunction('imagepng');
var_dump(count($ref->getParameters()));
?>
--EXPECT--
int(4)