From: "Chris W. Parker" <[EMAIL PROTECTED]>
> > CPT John W. Holmes <mailto:[EMAIL PROTECTED]>
> > > The dots in ipaddr variable are considered to be
> > > string concatenations.
> >
> > No they are not. Show some examples.
>
> What am I missing here? How is the dot operator not considered
> concatenation?
> $concatenatedString = 'a'.'concatenated'.'string';

We know periods are for concatination, but periods _within_ strings are not.

$ipaddr = "122.122.122.122";
$str = 'a'.$ipaddr.'string';

>From the way I read that, the periods _within_ $ipaddr were being seen as
concatination characters (according to OP), which doesn't make sense. So I
wanted an example.

---John Holmes...

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to