Re: What is the difference: include()
| From: | Erik Price | Date: | Mon, 17 Mar 2003 19:21:40 +0000 |
| Subject: | Re: What is the difference: include() | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-140012@lists.php.net to get a copy of this message | ||
Erik Price wrote:
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. Erik