|  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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
11 + 25 = ?
Subscribe to this entry?

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

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 to the new behaviour, but I don't know if the change is intentional.


Add a Patch

Pull Requests

Add a Pull Request


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 Mar 22 02:04:11 2023 UTC