RE: [PHP] Freelance code optimizations
| From: | Robert Cummings | Date: | Mon, 11 Aug 2003 17:55:27 +0000 |
| Subject: | RE: [PHP] Freelance code optimizations | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-159160@lists.php.net to get a copy of this message | ||
I've never seen a "comma" concatenation operator in PHP and the
following when cut and paste to a test PHP script generates a parse
error under PHP 4.3.2. Could you elaborate on this operator? Is it part
of the PHP 5 engine? Or are you mistaken in assuming the following works
when perhaps you use this style as part of an echo statement normally.
Cheers,
Rob.
On Mon, 2003-08-11 at 13:29, Chris W. Parker wrote:
>
> **** , concatenation
>
> $myString = "Hello this is my string."
> ," This is more of my string."
> ," And even more of my string."
> ," And even more of my string."
> ," And even more of my string."
> ," And even more of my string."
> ," And even more of my string."
> ," And even more of my string."
> ," And even more of my string."
> ," And even more of my string."
> ," And even more of my string."
> ," And even more of my string."
> ," And even more of my string.";
--
.---------------------------------------------.
| Worlds of Carnage - http://www.wocmud.org |
:---------------------------------------------:
| Come visit a world of myth and legend where |
| fantastical creatures come to life and the |
| stuff of nightmares grasp for your soul. |
`---------------------------------------------'