Re: "but what if.." Function / String Problem
| From: | Ignacio Vazquez-Abrams | Date: | Fri, 19 Jan 2001 17:52:21 +0000 |
| Subject: | Re: "but what if.." Function / String Problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-35659@lists.php.net to get a copy of this message | ||
On Fri, 19 Jan 2001, Shawn Blaylock wrote:
> Yep. I think the only difference is the way it handles variable
> interpolation, but I'm not entirely sure on that one.
>
> "Boget, Chris" wrote:
> >
> > > It won't work even with single quotes. It'll just echo out
> > > LoggedIn() as part of the string.
> >
> > Yeah, I didn't think so. But I knew that '' behaves differently
> > than "". I just wasn't sure of the exact details of the differences.
> >
> > Chris
>
Single quotes also don't do escaping (i.e., "\n", "\r", etc.).
--
Ignacio Vazquez-Abrams <ignacio@openservices.net>