note 39547 added to language.operators.string
| From: | php-general at lists dot php dot net | Date: | Sun, 01 Feb 2004 23:50:01 +0000 |
| Subject: | note 39547 added to language.operators.string | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-64525@lists.php.net to get a copy of this message | ||
<?php
$a = "Hello ";
$b = $a . "World!"; // now $b contains "Hello World!"
$a = "Hello "; // this line is not needed $a was already set to "Hello "
$a .= "World!"; // now $a contains "Hello World!"
?>
----
Manual Page -- http://www.php.net/manual/en/language.operators.string.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+39547
Delete -- http://master.php.net/manage/user-notes.php?action=delete+39547&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+39547&report=yes
Search -- http://master.php.net/manage/user-notes.php