diff --git a/language/references.xml b/language/references.xml index bfd44707e3..8ecd2b16aa 100644 --- a/language/references.xml +++ b/language/references.xml @@ -1,5 +1,5 @@ - + References Explained @@ -364,6 +364,9 @@ $foo->x = 2; work as you are attempting to return the result of an expression, and not a variable, by reference. You can only return variables by reference from a function - nothing else. + E_NOTICE error is issued since PHP 4.4.0 and PHP + 5.1.0 if the code tries to return a dynamic expression or a result of the + new operator.