#34000 [Opn->Bgs]: parameters not passwed correctly
ID: 34000
Updated by: sniper@php.net
Reported By: shim at andersens dot org
-Status: Open
+Status: Bogus
Bug Type: Class/Object related
Operating System: FC3
PHP Version: 4.3.11
New Comment:
Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP --
the problem might already be fixed. Please download a new
PHP version from http://www.php.net/downloads.php
If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.
Previous Comments:
------------------------------------------------------------------------
[2005-08-05 01:09:12] shim at andersens dot org
I havent tried the CVS version because I dont have access to a dev
server to compile the CVS version. Sorry.
------------------------------------------------------------------------
[2005-08-05 01:00:27] tony2001@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
Why didn't you try it before?
------------------------------------------------------------------------
[2005-08-05 00:53:17] shim at andersens dot org
Traced it down to a line that read
<?
function &Param($name)
{
return @$this->params[$name];
}
?>
changing it to
...
$v = $this->params[$name];
return $v;
...
fixes it. Is this the same issue fixed in 4.4?
------------------------------------------------------------------------
[2005-08-05 00:35:11] tony2001@php.net
Your code works perfectly fine here.
Please provide the real one.
------------------------------------------------------------------------
[2005-08-05 00:27:08] shim at nadersens dot org
foo('a','b',c')
should be
foo('a','b','c')
also, are varibables are references to eachother. Changing one changes
them all.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/34000
--
Edit this bug report at http://bugs.php.net/?id=34000&edit=1
Thread (8 messages)