Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:59771 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 57372 invoked from network); 12 Apr 2012 01:07:02 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Apr 2012 01:07:02 -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.216.170 cause and error) X-PHP-List-Original-Sender: rasmus@lerdorf.com X-Host-Fingerprint: 209.85.216.170 mail-qc0-f170.google.com Received: from [209.85.216.170] ([209.85.216.170:57327] helo=mail-qc0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 81/2C-23245-2BA268F4 for ; Wed, 11 Apr 2012 21:07:01 -0400 Received: by qcmt36 with SMTP id t36so1039409qcm.29 for ; Wed, 11 Apr 2012 18:06:56 -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=XTTnohFo6hWBMjlTb/p2MNBQGO/wgYwCesC/nHbXo80=; b=S/aaMW6JMT+rxpuY210uILiGP5zzRhQTuvxv1595SaUBgBB1pJM4zTdLv2sFFzCibg yqk187G9+XZLpohcG5k+tTr54PWsFyjCOWsu3xZTX7S/59523Ig++M+TuqSw6Q3FKwbS 153tIw/0IxgPtrjs34Ye7xgTVQ2t/2Dn6EDKOXjD2Y6itm64GOVaJpCEUTGcivwL7IbJ ressKN4GZwKLZRzKyCFGm+XjwwfBQQpi9UHr6B9f6g9zSfK5ge/6r2KCGK1SuM893YBT jV46Xv1jM17v5ZeFhMwSSmYF2RNQMfCNG+7zJk4J1K0X3vokNiFetGKDGukZ0K4caylT 2uiA== Received: by 10.224.180.1 with SMTP id bs1mr1533620qab.2.1334192815982; Wed, 11 Apr 2012 18:06:55 -0700 (PDT) Received: from [192.168.201.3] (77.sub-166-250-75.myvzw.com. [166.250.75.77]) by mx.google.com with ESMTPS id gs5sm8818965qab.22.2012.04.11.18.06.53 (version=SSLv3 cipher=OTHER); Wed, 11 Apr 2012 18:06:54 -0700 (PDT) Message-ID: <4F862AAC.90003@lerdorf.com> Date: Wed, 11 Apr 2012 18:06:52 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120329 Thunderbird/11.0.1 MIME-Version: 1.0 To: Yasuo Ohgaki CC: Kris Craig , Chris Stockton , John Crenshaw , Stas Malyshev , "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> In-Reply-To: X-Enigmail-Version: 1.4 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQke0Yjv0AtM7BcDKcbHhbbG5c5rciSHmQhf5DaI/vgehePhliUT1yyDbA2FFGmxm/stZqin Subject: Re: [PHP-DEV] Re: Disabling PHP tags by php.ini and CLI options From: rasmus@lerdorf.com (Rasmus Lerdorf) On 04/11/2012 02:10 PM, Yasuo Ohgaki wrote: > It's also very easy to write backward compatible code also. > The 3 lines of changes to adopt this RFC do not bother > old PHP. > > No compatibility issue for existing code > Just 3 lines of change to adopt > Full backward compatibility for OLD systems > > The only issue is NEW code may be disclosed by **OLD** > systems. > > If you think it costs too much still, please let me know. Pretty much all of the code I have ever written would break. I use PHP-based templating everywhere and include my templates with include/require. How exactly can I fix this with 3 lines of code? -Rasmus