Re: [RFC] Namespace and Parse tags on Include and Require

From: Date: Tue, 06 Mar 2012 22:08:26 +0000
Subject: Re: [RFC] Namespace and Parse tags on Include and Require
References: 1 2  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
2012/3/6 Ángel González <[email protected]>:

> Tagless files interpreted as php is the wrong way to go.
> I think you should instead propose it as:
> * A file included in that mode MUST begin with <?php.
> * ?> is forbidden in such mode unless followed by EOF.
>
>

Ever work with older versions of subversion or vi? (Many editors will
put a carriage return after the last character of the file). So no,
you're wrong.  Requiring ?> at EOF would just be stupid.


Thread (9 messages)

« previous php.internals (#58695) next »