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

 ID:               50394
 Comment by:       spam dot here at verizon dot net
 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:

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."


Previous Comments:
------------------------------------------------------------------------
[2009-12-18 19:20:33] s...@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] s...@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] s...@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] s...@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... 

------------------------------------------------------------------------
[2009-12-08 04:46:10] tstarling at wikimedia dot org

For the record, I've isolated this further, and the annotation suggests
it was introduced in r287466 by stas in the course of fixing another
bug.

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


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

Reply via email to