Bug #75437 [Ver->Csd]: Wrong reflection on imagewebp

From: Date: Wed, 25 Oct 2017 11:17:02 +0000
Subject: Bug #75437 [Ver->Csd]: Wrong reflection on imagewebp
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-212314@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=75437&edit=1 ID: 75437 Updated by: cmb@php.net Reported by: fabien dot villepinte at gmail dot com Summary: Wrong reflection on imagewebp -Status: Verified +Status: Closed Type: Bug Package: GD related PHP Version: Irrelevant Assigned To: cmb Block user comment: N Private report: N New Comment: Automatic comment on behalf of fabien.villepinte@gmail.com Revision: http://git.php.net/?p=php-src.git;a=commit;h=0fbb9f343f9cff71532f28d86cfcc93f5fb3997e Log: Fix bug #75437 Wrong reflection on imagewebp Previous Comments: ------------------------------------------------------------------------ [2017-10-25 09:21:27] fabien dot villepinte at gmail dot com Description: ------------ The number of parameters returned by reflection is wrong for imagewebp(). See: https://secure.php.net/manual/en/function.imagewebp.php Test script: --------------- <?php $rf = new ReflectionFunction('imagewebp'); var_dump($rf->getNumberOfParameters()); var_dump($rf->getNumberOfRequiredParameters()); Expected result: ---------------- int(3) int(1) Actual result: -------------- int(2) int(1) ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=75437&edit=1

« previous php.bugs (#212314) next »