Re: What is the difference: include()

From: Date: Mon, 17 Mar 2003 19:37:07 +0000
Subject: Re: What is the difference: include()
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-140017@lists.php.net to get a copy of this message
> > If you had a constant named "somefile" or "php" and you use the second > > syntax, the constant would be interpolated/evaluated to the value of the > > constant. > > > > Generally I always use single quoted strings unless there's some need > > for double-quoted strings (like if I want to embed a variable) so > > something like this can't happen. > > BTW, I'm talking out my butt here, but it might be true. The advice is > still sound, regardless. Well, the first part is out your butt... :) but the second part is sound advice. ---John Holmes...

« previous php.general (#140017) next »