1--TEST--
2Assignement as argument
3--FILE--
4<?php
5    function foo(&$x, &$y) { $x = 1; echo $y ; }
6
7    $x = 0;
8    foo($x, $x); // prints 1 ..
9
10
11    function foo2($x, &$y, $z)
12    {
13      echo $x; // 0
14      echo $y; // 1
15      $y = 2;
16    }
17
18    $x = 0;
19
20    foo2($x, $x, $x = 1);
21    echo $x; // 2
22?>
23--EXPECTF--
241012
25