php3-list | 199807
Date: 07/02/98
- Next message: Vincent Kurt Stoessel: "Re: [PHP3] bit shifting"
- Previous message: Martin Koistinen: "Re: [PHP3] form data"
- In reply to: Marcus Johansson: "Re: [PHP3]"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
The . operator (dot operator) works as a concatenation operator througout
the whole of PHP 3.0.
Zeev
On Thu, 2 Jul 1998, Marcus Johansson wrote:
> >> Short description:
> >> Multidimensional arrays in double quotes (e.g. "$a[b][1]")
> >> are not expanded in the right way.
> >
> >You can't use multi-dimensional arrays inside a quoted string like
> that.
> >Only simple variables are supported inside quoted strings right now.
> Not
> >a big limitation since you can just break out.
> >
> >eg. echo "This is my ".$a[b][1]." variable";
>
> That's a feature I didn't know about!
> Can I use it to add strings together?
>
> $a=$b.$c;
> instead of
> $a=$b+$c; ?
>
> Or is it only for breaking strings like:
> $a="$b".$c."$d"; (Something like that..)
>
> Does it work on functions too?
>
> ---
> Marcus
>
> ______________________________________________________
> Get Your Private, Free Email at http://www.hotmail.com
>
> --
> PHP 3 Mailing List http://www.php.net/
> To unsubscribe send an empty message to php3-unsubscribe <email protected>
> To subscribe to the digest list: php3-digest-subscribe <email protected>
> For help: php3-help <email protected> Archive: http://www.tryc.on.ca/php3.html
>
>
-- ----------------------------------------------------- Zeev Suraski <zeev <email protected>> For a PGP public key, finger bourbon <email protected>-- PHP 3 Mailing List http://www.php.net/ To unsubscribe send an empty message to php3-unsubscribe <email protected> To subscribe to the digest list: php3-digest-subscribe <email protected> For help: php3-help <email protected> Archive: http://www.tryc.on.ca/php3.html
- Next message: Vincent Kurt Stoessel: "Re: [PHP3] bit shifting"
- Previous message: Martin Koistinen: "Re: [PHP3] form data"
- In reply to: Marcus Johansson: "Re: [PHP3]"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

