ID:               45603
 Updated by:       [EMAIL PROTECTED]
 Reported By:      wojtek77 at o2 dot pl
-Status:           Open
+Status:           Bogus
 Bug Type:         *General Issues
 Operating System: Windows 2003 server
 PHP Version:      5.2.6
 New Comment:

Please submit a new report. This is totally useless/confusing.
You should fill all the textboxes in the "report a bug" page..


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

[2008-07-23 12:02:03] wojtek77 at o2 dot pl

Description:
------------
Is OK:
function x($x)
{
        $x[0] = 0;
}

$x = array(1);
print_r($x);

//$aaa = & $x[0];

x($x);
print_r($x);
//Array ( [0] => 1 ) Array ( [0] => 1 )


Is not OK:
Is OK:
function x($x)
{
        $x[0] = 0;
}

$x = array(1);
print_r($x);

$aaa = & $x[0];

x($x);
print_r($x);
//Array ( [0] => 1 ) Array ( [0] => 0 )
//Variable $x underwent the change.




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


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

Reply via email to