Bug #50394 [Csd]: Reference argument converted to value in __call

From: Date: Sun, 21 Mar 2010 21:01:32 +0000
Subject: Bug #50394 [Csd]: Reference argument converted to value in __call
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-148821@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=50394&edit=1

 ID:               50394
 User updated by:  tstarling at wikimedia dot org
 Reported by:      tstarling at wikimedia dot org
 Summary:          Reference argument converted to value in __call
 Status:           Closed
 Type:             Bug
 Package:          Scripting Engine problem
 Operating System: Linux
 PHP Version:      5.3.1

 New Comment:

This bug was fixed in 5.3.2. The problem you reported on mediawiki.org
was not a PHP bug.


Previous Comments:
------------------------------------------------------------------------
[2010-03-21 21:57:04] spam dot here at verizon dot net

Mediawiki still reports that the problem still exists.

http://www.mediawiki.org/wiki/Project:Support_desk#PHP_5.3_Problem_Still_Exists

And it is still in their install document.

http://www.mediawiki.org/wiki/Installation

"PHP version 5.1 or later (5.2.x recommended). PHP 5.3.1 is incompatible
with MediaWiki due to a bug."

------------------------------------------------------------------------
[2009-12-18 19:20:33] svn@php.net

Automatic comment from SVN on behalf of stas
Revision: http://svn.php.net/viewvc/?view=revision&revision=292296
Log: Fixed bug #50394 (Reference argument converted to value in __call)

------------------------------------------------------------------------
[2009-12-18 19:13:37] stas@php.net

This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.

fixed, thanks

------------------------------------------------------------------------
[2009-12-18 19:12:12] svn@php.net

Automatic comment from SVN on behalf of stas
Revision: http://svn.php.net/viewvc/?view=revision&revision=292295
Log: fix regression bug #50394: Reference argument converted to value in
__call

------------------------------------------------------------------------
[2009-12-17 19:15:18] stas@php.net

This bug is actually deeper than it appears. The problem seems to be
that when __call is used, user function is "simulated" by internal
function processing __call. And there is when it gets hairy, since the
simulating function does not accept parameters by-ref, so they get
separated. 
I'll think about how to fix this situation - there might be a way to
carry the reference through... 

------------------------------------------------------------------------


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/bug.php?id=50394


-- 
Edit this bug report at http://bugs.php.net/bug.php?id=50394&edit=1


Thread (29 messages)

« previous php.bugs (#148821) next »