Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:59853 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 95114 invoked from network); 13 Apr 2012 05:22:45 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Apr 2012 05:22:45 -0000 Authentication-Results: pb1.pair.com header.from=davidkmuir@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=davidkmuir@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.210.170 as permitted sender) X-PHP-List-Original-Sender: davidkmuir@gmail.com X-Host-Fingerprint: 209.85.210.170 mail-iy0-f170.google.com Received: from [209.85.210.170] ([209.85.210.170:35772] helo=mail-iy0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 9B/E7-00290-428B78F4 for ; Fri, 13 Apr 2012 01:22:44 -0400 Received: by iaeh11 with SMTP id h11so4492573iae.29 for ; Thu, 12 Apr 2012 22:22:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=Prz57YFxfmd813iNS1B9Bmp+qefyvpziQHK+ldk0P3c=; b=AbPuQoynADPpbT8bGBFNF0HUOrDPNqTdBPLEJAaK5kRisM80rMjQbLQSQZcHfdz/0B BUvPW7tRDF+EFWcDHhOZ5v7YrAkRJTQGTifqcF/GhI2Bk8Ss4820UoYDoG75AW+PAJuE 3ZaxjvxJ0o0pRztNNJP7UFvBuOmJ6LA2M4w8JaGf782JZAujxG/FjBNQtHg23LK7I8yO zVOK/QdxARZLltnUeb0TfwDj3sU5vuSohd4uoxhvCNgm7hB/HTdv2qGjkBUuvtUu19gf MnNsDHasHLASwWxi9k1sqdEj1LaID6soubNW0uEeFkG06ZXfX4xwLZSlEa2U420YXP6n Dhnw== Received: by 10.50.203.99 with SMTP id kp3mr363971igc.16.1334294561713; Thu, 12 Apr 2012 22:22:41 -0700 (PDT) Received: from [192.168.0.5] (dsl-202-173-152-56.vic.westnet.com.au. [202.173.152.56]) by mx.google.com with ESMTPS id xt2sm1675951igb.6.2012.04.12.22.22.39 (version=SSLv3 cipher=OTHER); Thu, 12 Apr 2012 22:22:41 -0700 (PDT) Message-ID: <4F87B81F.9000603@gmail.com> Date: Fri, 13 Apr 2012 15:22:39 +1000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120329 Thunderbird/11.0.1 MIME-Version: 1.0 To: internals@lists.php.net References: <4F862AAC.90003@lerdorf.com> <4F86761A.9010801@lsces.co.uk> <4F876E36.1020400@gmail.com> <4F87799D.4060601@sugarcrm.com> <4274B530-5FB8-4292-9262-37044CF98B8B@punkave.com> <4F87B1D6.2070008@sugarcrm.com> In-Reply-To: <4F87B1D6.2070008@sugarcrm.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Re: Disabling PHP tags by php.ini and CLI options From: davidkmuir@gmail.com (David Muir) On 13/04/12 14:55, Stas Malyshev wrote: > Hi! > >> If this is a pecl module library developers cannot use it and trust >> that on php 5.n, it just works. That would fork the language in an >> undesirable way. It should be a core feature, no ini flag, no >> sometimes-there module. > PHP 5.n is at least a year away, wide adoption of it - more like 5 years > away. So if you want to write code that would run anywhere (as opposed > on systems you control) you'd have to wait minimum 5 years. Wouldn't it > better to have it earlier? > OTOH, requiring extensions is a common thing for applications, and any > pecl extension is one command away for most setups, or one download away > for others. And can be made work even in 5.2 if desired. Can't it also be handled using streams to inject a leading