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 <<