Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:59889 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 34106 invoked from network); 13 Apr 2012 17:29:29 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Apr 2012 17:29:29 -0000 Authentication-Results: pb1.pair.com header.from=tom@punkave.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=tom@punkave.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain punkave.com designates 209.85.213.42 as permitted sender) X-PHP-List-Original-Sender: tom@punkave.com X-Host-Fingerprint: 209.85.213.42 mail-yw0-f42.google.com Received: from [209.85.213.42] ([209.85.213.42:52595] helo=mail-yw0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AE/92-35770-672688F4 for ; Fri, 13 Apr 2012 13:29:29 -0400 Received: by yhfq11 with SMTP id q11so1990453yhf.29 for ; Fri, 13 Apr 2012 10:29:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding:x-gm-message-state; bh=lcTPHgvKwnxwvHnIad/K5WLxiruqrH5gEdqlNykPnTc=; b=lc6xXHOZ+GXRi79FMq/Jg8YQXqgN2kxzTIjxm2/TJ30b4WJYsDO0Hm0CqXdt4nqXdl ageELJLtSE1nGIuBvaQEf/VmRQm9DUe05iGz+ma8CeiJ8BS1yZ6QjVtHwPXlR/kXomn9 jn25Ruy+i5iPOHvkSTiIZ0p2k0j1EsDZu8b10jRV+8SflvQvA1Jea0YgeuMyFLoJGfj7 Vzzx8+qoP4gQguQeI6I4543o1oRNmm9IatZ4EkEb6grVv/3xhHFINz2EAV5abv21XqyN d6igOgDEm2NaFqtybnc0AP98KIXJdmCAxDh8PwSoIbriWbiFohF2ufk1Cw/i0o9ZHKiD 8eBQ== MIME-Version: 1.0 Received: by 10.236.9.35 with SMTP id 23mr2518568yhs.41.1334338163761; Fri, 13 Apr 2012 10:29:23 -0700 (PDT) Received: by 10.101.57.14 with HTTP; Fri, 13 Apr 2012 10:29:23 -0700 (PDT) In-Reply-To: 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> <4F87B81F.9000603@gmail.com> <03.6A.35770.215388F4@pb1.pair.com> Date: Fri, 13 Apr 2012 13:29:23 -0400 Message-ID: To: PHP Internals Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQkMiKtMuGEHov/sf7zF+tA96e6JiHYQj0j/lKfQ3jGFpTEYrS6aUuVFzpwLxwclczfGBZIp Subject: Re: [PHP-DEV] Re: Disabling PHP tags by php.ini and CLI options From: tom@punkave.com (Tom Boutell) (I'm referring to the streams approach. You seem to be suggesting a PECL extension with a fallback provision. It still sounds like something no one will seriously use because they can't count on it running fast on a given box, although it is a clever workaround.) On Fri, Apr 13, 2012 at 1:28 PM, Tom Boutell wrote: > Wouldn't this be a significant performance hit when multiplied by > every class file in a project? > > On Fri, Apr 13, 2012 at 10:15 AM, Matthew Weier O'Phinney > wrote: >> On 2012-04-13, David Muir wrote: >>> On 13/04/12 14:55, Stas Malyshev wrote: >>> > > 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 ye= ars >>> > away. So if you want to write code that would run anywhere (as oppose= d >>> > 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 an= y >>> > pecl extension is one command away for most setups, or one download a= way >>> > 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 >> file prior to inclusion? A PECL extension would then just make it run a >>> bit faster. >> >> I made this very suggestion earlier this week (we do this in ZF1 to >> emulate short tag support for those who use them). >> >> -- >> Matthew Weier O'Phinney >> Project Lead =A0 =A0 =A0 =A0 =A0 =A0| matthew@zend.com >> Zend Framework =A0 =A0 =A0 =A0 =A0| http://framework.zend.com/ >> PGP key: http://framework.zend.com/zf-matthew-pgp-key.asc >> >> -- >> PHP Internals - PHP Runtime Development Mailing List >> To unsubscribe, visit: http://www.php.net/unsub.php >> > > > > -- > Tom Boutell > P'unk Avenue > 215 755 1330 > punkave.com > window.punkave.com --=20 Tom Boutell P'unk Avenue 215 755 1330 punkave.com window.punkave.com