gwynne Fri Jun 15 01:20:55 2007 UTC
Modified files: /phpdoc/en/language types.xml Log: - Fix small grammatical error - Document memory usage for parsed variables (fixes bug #40122) http://cvs.php.net/viewvc.cgi/phpdoc/en/language/types.xml?r1=1.179&r2=1.180&diff_format=u Index: phpdoc/en/language/types.xml diff -u phpdoc/en/language/types.xml:1.179 phpdoc/en/language/types.xml:1.180 --- phpdoc/en/language/types.xml:1.179 Thu May 24 18:46:00 2007 +++ phpdoc/en/language/types.xml Fri Jun 15 01:20:55 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.179 $ --> +<!-- $Revision: 1.180 $ --> <chapter id="language.types"> <title>Types</title> @@ -1082,7 +1082,15 @@ <note> <para> - Functions and method calls works since PHP 5. + Functions and method calls work since PHP 5. + </para> + </note> + <note> + <para> + 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. </para> </note> </sect4>