On Wed, 3 Jul 2002, Analysis & Solutions wrote:

> On Wed, Jul 03, 2002 at 05:44:28PM -0800, Chris Lott wrote:
> >
> > I have a function that writes meta tags... if a tag (or tags) is not
> > specified, then it gets a default value... is there a cleaner way to
> > do this?
>
> Not that I can think of.  I do have some thoughts, though...

[...]

Good points. But I have a question about this:

> Note use of single quotes around the array key names, as well.

Why is this better-- I assume because PHP doesn't have to check for
variables to interpolate with single quotes?

Thanks!

c


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

Reply via email to