Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:59735 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 62569 invoked from network); 11 Apr 2012 15:45:34 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Apr 2012 15:45:34 -0000 Authentication-Results: pb1.pair.com smtp.mail=rasmus@lerdorf.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=rasmus@lerdorf.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain lerdorf.com from 209.85.213.170 cause and error) X-PHP-List-Original-Sender: rasmus@lerdorf.com X-Host-Fingerprint: 209.85.213.170 mail-yx0-f170.google.com Received: from [209.85.213.170] ([209.85.213.170:48519] helo=mail-yx0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AB/24-36454-D17A58F4 for ; Wed, 11 Apr 2012 11:45:33 -0400 Received: by yenl5 with SMTP id l5so601517yen.29 for ; Wed, 11 Apr 2012 08:45:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding:x-gm-message-state; bh=Koy51dhDkRZNVh3ERG+vX16U/afLaYtGFO8IE/R1f3o=; b=gDtQP4eTN9Q+9u+d6/AiMuIICDUZ76rXweoZqOnMF40y6yOYMoKD6I9DUhe6Swvp4w xZOtX7Jw21HfGA49wNxXe3Nm2l0gUVqa5JjNNeqYdFeRRL+6NpLKJD9vPaBVhKO+CSqQ ziaXbOyY1ceWarZT5H3KiW3PgISpSmoIi8pWxNZNo3tGdFvuQM+Mm126ejrOsvap0VtB KQuTilA5lzTNtC01ERY7OgRIgZDVIwttj6G1RHeygt/LQrd28Vw0gBRKkuyCubKJh6hB hqiCmx0+2k2zJPn15YemasNTwlGu5AVprrLFIrheKgcAU/URGI0wdZB5jtYtajX7uTWD ktXw== Received: by 10.236.176.167 with SMTP id b27mr11382787yhm.55.1334159130169; Wed, 11 Apr 2012 08:45:30 -0700 (PDT) Received: from [192.168.201.2] (200.sub-166-250-78.myvzw.com. [166.250.78.200]) by mx.google.com with ESMTPS id 22sm11690997yhs.6.2012.04.11.08.45.28 (version=SSLv3 cipher=OTHER); Wed, 11 Apr 2012 08:45:29 -0700 (PDT) Message-ID: <4F85A717.20405@lerdorf.com> Date: Wed, 11 Apr 2012 08:45:27 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120329 Thunderbird/11.0.1 MIME-Version: 1.0 To: Luke Scott CC: Stas Malyshev , Yasuo Ohgaki , "internals@lists.php.net" References: <4F850D06.10701@sugarcrm.com> <4F8515AF.8060706@sugarcrm.com> <4F851FE4.7000706@sugarcrm.com> <4F8539E0.1090701@sugarcrm.com> <4F859063.1010401@lerdorf.com> <-3427386339833244777@unknownmsgid> In-Reply-To: <-3427386339833244777@unknownmsgid> X-Enigmail-Version: 1.4 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQkCtsDUrbkomvUpgOpdTEIm85FIHX7DRZY8quRXg6eK9dFfX2yObtGk2f5YvozAa8fUZosY Subject: Re: [PHP-DEV] Re: Disabling PHP tags by php.ini and CLI options From: rasmus@lerdorf.com (Rasmus Lerdorf) 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 - 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 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