php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #75453 Incorrect reflection on ibase_connect and ibase_pconnect
Submitted: 2017-10-29 08:13 UTC Modified: -
From: fabien dot villepinte at gmail dot com Assigned:
Status: Closed Package: InterBase related
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: fabien dot villepinte at gmail dot com
New email:
PHP Version: OS:

 

 [2017-10-29 08:13 UTC] 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)

Patches

Pull Requests

Pull requests:

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-10-30 06:57 UTC] krakjoe@php.net
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
 [2017-10-30 06:57 UTC] krakjoe@php.net
-Status: Open +Status: Closed
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Dec 06 20:01:27 2024 UTC