From 00f143b8c8a75ab336458794cbb86ce01b246e28 Mon Sep 17 00:00:00 2001 From: Gwynne Raskind Date: Fri, 15 Jun 2007 01:20:55 +0000 Subject: [PATCH] - Fix small grammatical error - Document memory usage for parsed variables (fixes bug #40122) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@237713 c90b9560-bf6c-de11-be94-00142212c4b1 --- language/types.xml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/language/types.xml b/language/types.xml index b3725222bf..78eab06df0 100644 --- a/language/types.xml +++ b/language/types.xml @@ -1,5 +1,5 @@ - + Types @@ -1082,7 +1082,15 @@ echo "I'd like to have another {${ strrev('reeb') }}, hips"; - Functions and method calls works since PHP 5. + Functions and method calls work since PHP 5. + + + + + Parsing variables within strings uses more memory than string + concatenation. When writing a PHP script in which memory usage is a + concern, consider using the concatenation operator (.) rather than + variable parsing.