<?php $foo = 25; $bar = &$foo; // This is a valid assignment. function test() { return 25; } $bar = &test(); // Invalid. ?>