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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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-2024 The PHP Group
All rights reserved.
Last updated: Fri Dec 27 00:01:30 2024 UTC