derek Sat Dec 20 21:58:42 2003 EDT
Modified files: /phpdoc/en/functions strings.xml Log: undoing changes Index: phpdoc/en/functions/strings.xml diff -u phpdoc/en/functions/strings.xml:1.174 phpdoc/en/functions/strings.xml:1.175 --- phpdoc/en/functions/strings.xml:1.174 Sat Dec 20 19:13:10 2003 +++ phpdoc/en/functions/strings.xml Sat Dec 20 21:58:42 2003 @@ -8,7 +8,7 @@ instead --> <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.174 $ --> +<!-- $Revision: 1.175 $ --> <reference id="ref.strings"> <title>String functions</title> <titleabbrev>Strings</titleabbrev> @@ -558,15 +558,11 @@ echo $foo; // foobar echo $foo,$bar; // foobarbarbaz -// Some people prefer passing multiple parameters to echo over concatenation. -echo 'This ', 'string ', 'was ', 'made ', 'with multiple parameters.', chr(10); -echo 'This ' . 'string ' . 'was ' . 'made ' . 'with concatenation.' . "\n"; - echo <<<END This uses the "here document" syntax to output multiple lines with $variable interpolation. Note that the here document terminator must appear on a -line with just a semicolon. no extra whitespace! +line with just a semicolon no extra whitespace! END; // because echo is not a function, following code is invalid.