From 3cc3e2da129a16d952b9af13291d1295b94a46d3 Mon Sep 17 00:00:00 2001 From: Derek Ford Date: Sun, 21 Dec 2003 00:13:10 +0000 Subject: [PATCH] additional example and punctuation fix git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@147047 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/strings.xml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/functions/strings.xml b/functions/strings.xml index ae6b13f1ee..ddf0c5f7a6 100644 --- a/functions/strings.xml +++ b/functions/strings.xml @@ -8,7 +8,7 @@ instead --> - + String functions Strings @@ -558,11 +558,15 @@ echo 'foo is $foo'; // foo is $foo 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 <<