Bug #75453 [NEW]: Incorrect reflection on ibase_connect and ibase_pconnect

From: Date: Sun, 29 Oct 2017 08:13:40 +0000
Subject: Bug #75453 [NEW]: Incorrect reflection on ibase_connect and ibase_pconnect
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-212353@lists.php.net to get a copy of this message
From: fabien dot villepinte at gmail dot com Operating system: PHP version: Irrelevant Package: InterBase related Bug Type: Bug Bug description:Incorrect reflection on ibase_connect and ibase_pconnect 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 bug report at https://bugs.php.net/bug.php?id=75453&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=75453&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=75453&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=75453&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=75453&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=75453&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=75453&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=75453&r=needscript Try newer version: https://bugs.php.net/fix.php?id=75453&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=75453&r=support Expected behavior: https://bugs.php.net/fix.php?id=75453&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=75453&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=75453&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=75453&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=75453&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=75453&r=dst IIS Stability: https://bugs.php.net/fix.php?id=75453&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=75453&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=75453&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=75453&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=75453&r=mysqlcfg

« previous php.bugs (#212353) next »