Only named variables may be assigned by reference.
<?php $foo = 25; $bar = &$foo; // This is a valid assignment. function test() { return 25; } $bar = &test(); // Invalid. ?>