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


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



Reply via email to