This page of the PHP Manual says that only a named variable can be assigned by reference, http://www.php.net/manual/en/language.variables.basics.php.  It gives the example that $bar = &$foo; is a valid assignment, but $bar = &(24 * 7); is not.
In the page on variable scope however, http://www.php.net/manual/en/language.variables.scope.php, it gives an example of $obj = &new stdclass;.
How can this be so?  new stdclass is not a named variable!
Thanks...
 
     
    