php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1805 getParameters() changed from php3
Submitted: 1999-07-21 14:42 UTC Modified: 1999-07-31 18:02 UTC
From: Danny dot Heijl at cevi dot be Assigned:
Status: Closed Package: Other
PHP Version: 4.0 Beta 1 OS: all ?
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: Danny dot Heijl at cevi dot be
New email:
PHP Version: OS:

 

 [1999-07-21 14:42 UTC] Danny dot Heijl at cevi dot be
ext/informix/ifx.ec :

PHP3 allowed one to call getParameters(..) with an argument count and a 
number of arguments less than the actual number of arguments provided to a PHP_FUNCTION.

PHP4 insists on the correct argument count and the correct number of arguments, otherwise you get garbage in at least the last argument.

No problem really, I adapted ifx.ec to the new behaviour, but I don't know if the change is intentional.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-07-22 20:13 UTC] zeev at cvs dot php dot net
We'll look into it.  Thanks!
 [1999-07-31 18:02 UTC] zeev at cvs dot php dot net
I thought it over - the PHP 4.0 behavior is the only thing we can
guarantee.  getParameters() should be fed with the right number
of arguments.
 
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Wed Feb 08 10:03:53 2023 UTC