Re: Include???

From: Date: Wed, 23 May 2007 17:20:30 +0000
Subject: Re: Include???
References: 1 2 3 4 5  Groups: php.general 
Request: Send a blank email to php-general+get-255439@lists.php.net to get a copy of this message
On 5/23/07, Greg Donald <gdonald@gmail.com> wrote:
On 5/23/07, Tijnema <tijnema@gmail.com> wrote: include is a control structure, I believe it isn't required, but preferred to use the include without (), like this: include "complete_save.php"; What variable or escape sequence are you interpolating in that double quoted string? include 'complete_save.php'; -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
I'm aware that it's not a function, I simply said to structure it as such on the line. And I believe that it's a matter of preference as to whether or not one should use the parentheses. As far as I know, it doesn't insinuate anything differently by enclosing the include file, such as C does when going between "#include <stdio.h>" and #include "src/myheader.h" I could be wrong though.... good time to re-acquaint myself with and brush up on my fundamentals. -- Daniel P. Brown [office] (570-) 587-7080 Ext. 272 [mobile] (570-) 766-8107

« previous php.general (#255439) next »