ID:               30959
 Updated by:       php-bugs@lists.php.net
 Reported By:      joel at zmail dot pt
-Status:           Feedback
+Status:           No Feedback
 Bug Type:         Zend Engine 2 problem
 Operating System: *
 PHP Version:      5.0.2
 New Comment:

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".


Previous Comments:
------------------------------------------------------------------------

[2005-02-28 21:20:25] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php5-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5-win32-latest.zip



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

[2004-12-02 12:43:27] joel at zmail dot pt

Description:
------------
__call doesn't return by reference



Reproduce code:
---------------
class A{
    private $x = 123;
    public function  & __call($m,$a){
        return $this->x;
    }
}
$a = new A();
$x = & $a->UndefMethod();
$x = 789;
$y = & $a->UndefMethod();

Expected result:
----------------
$y should be 789, but it is 123



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


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

Reply via email to