659da8c6b1
MemElim may transform the source of a DecRefNZ into a constant, so we shouldn't assert that it's coming from an IncRef.
13 linhas
130 B
PHP
13 linhas
130 B
PHP
<?php
|
|
|
|
function foo(&$x, $y) {
|
|
$x = array(1,2);
|
|
$y = $x;
|
|
return $y;
|
|
}
|
|
|
|
$x = 0;
|
|
$y = 0;
|
|
var_dump(foo($x, $y));
|
|
var_dump($x);
|