1--TEST--
2Returning a reference from a function
3--FILE--
4<?php
5
6function &returnByRef(&$arg1)
7{
8    return $arg1;
9}
10
11$a = 7;
12$b =& returnByRef($a);
13var_dump($b);
14$a++;
15var_dump($b);
16
17?>
18--EXPECT--
19int(7)
20int(8)
21