undoing changes

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@147061 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Derek Ford 2003-12-21 02:58:42 +00:00
parent 331f334c4e
commit 9d5f08a749

View file

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