Bug #75453 [Opn->Csd]: Incorrect reflection on ibase_connect and ibase_pconnect

From: Date: Mon, 30 Oct 2017 06:57:06 +0000
Subject: Bug #75453 [Opn->Csd]: Incorrect reflection on ibase_connect and ibase_pconnect
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-212364@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=75453&edit=1 ID: 75453 Updated by: krakjoe@php.net Reported by: fabien dot villepinte at gmail dot com Summary: Incorrect reflection on ibase_connect and ibase_pconnect -Status: Open +Status: Closed Type: Bug Package: InterBase related PHP Version: Irrelevant 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=e6aea3dc78ca8ab1634163cdb82a1140b9b97eb4 Log: Fix bug #75453 Incorrect reflection on ibase_connect and ibase_pconnect Previous Comments: ------------------------------------------------------------------------ [2017-10-29 08:13:35] fabien dot villepinte at gmail dot com Description: ------------ The number of required parameters returned by reflection is wrong for ibase_connect() and ibase_pconnect(). http://php.net/manual/en/function.ibase-connect.php http://php.net/manual/en/function.ibase-pconnect.php Test script: --------------- <?php $rf = new ReflectionFunction('ibase_connect'); var_dump($rf->getNumberOfRequiredParameters()); $rf = new ReflectionFunction('ibase_pconnect'); var_dump($rf->getNumberOfRequiredParameters()); Expected result: ---------------- int(0) int(0) Actual result: -------------- int(1) int(1) ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=75453&edit=1

« previous php.bugs (#212364) next »