On 04/11/2012 08:12 AM, Luke Scott wrote: > Tom has a "similar" RFC that has two modes: > > - Template mode - how it is now > - Code (or pure code) mode - <?php is only allowed at the top and is > optional. ?> is disallowed. > > Tom's RFC calls for template mode to remain the default, but allow you > to add a flag to require/include to interpret the script in "pure > mode". Allowing an optional starting <?php (only at top) maintains > backwards compatibility with most classes.
And my objection to that is similar. An optional templating mode is the same as optional short_tags. it discourages template mode the same way short_tags are discouraged. For short_tags that discouragement makes sense. For templating it doesn't. -Rasmus -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php