From e3188601d5a82979f94e762a6a08df40fc73e576 Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Mon, 31 Oct 2005 15:04:12 +0000 Subject: [PATCH] Assigning references are not faster than lazy copy git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@199618 c90b9560-bf6c-de11-be94-00142212c4b1 --- language/variables.xml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/language/variables.xml b/language/variables.xml index 3e17845f96..e54b6cb233 100644 --- a/language/variables.xml +++ b/language/variables.xml @@ -1,5 +1,5 @@ - + Variables @@ -65,11 +65,6 @@ $t This means that the new variable simply references (in other words, "becomes an alias for" or "points to") the original variable. Changes to the new variable affect the original, and vice versa. - This also means that no copying is performed; thus, the assignment - happens more quickly. However, any speedup will likely be noticed - only in tight loops or when assigning large - arrays or - objects. To assign by reference, simply prepend an ampersand (&) to the