Re: Re: [RFC][DISCUSSION] script() and script_once()
| From: | Leigh | Date: | Thu, 05 Feb 2015 08:31:38 +0000 |
| Subject: | Re: Re: [RFC][DISCUSSION] script() and script_once() | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-81874@lists.php.net to get a copy of this message | ||
On 5 February 2015 at 05:37, Adam Harvey <aharvey@php.net> wrote:
> I'm not totally clear on what this RFC is proposing, honestly. Is the
> new script statement meant to only include files that are entirely
> wrapped in <?php and ?> tags? Are files included that way assumed to
> be PHP and don't require <?php and ?> tags? Something else?
>
This is my initial reaction to the RFC, it doesn't state the
_specific_ difference between include/script. I understand what was
proposed in the nophptags RFC, but I have to make an assumption for
this RFC.
My assumption is that you want script* to not require <?php to begin
parsing. i.e. including /etc/passwd would be a parse failure.