On 06/03/12 15:45, Michael Morris wrote:
> I have made a wiki account with user name MichaelMorris - I don't
> think I have permissions to submit an RFC as of yet.  I'll post this
> here for now.  I've brought this up before, but can now simplify the
> original proposal since the decision to always have <?= available
> addresses much of the original problem.
>
> These changes apply to include, require, include_once and
> require_once. Two new arguments for these functions are proposed for
> introduction.
>
> (...)
>
> Problems
> The largest problem is with IDE's. There is no current convention to
> warn them that the file is pure PHP.  However, I think this can be
> mitigated by adopting an extension for php include files -- *.pif,
> *.iphp are two possibilities.  The language itself doesn't need to
> give a care about this directly.
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.



-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to