Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:59888 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 32842 invoked from network); 13 Apr 2012 17:28:37 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Apr 2012 17:28:37 -0000 Authentication-Results: pb1.pair.com smtp.mail=tom@punkave.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=tom@punkave.com; 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:46617] helo=mail-yw0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 09/52-35770-342688F4 for ; Fri, 13 Apr 2012 13:28:36 -0400 Received: by yhfq11 with SMTP id q11so1989922yhf.29 for ; Fri, 13 Apr 2012 10:28:33 -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:cc :content-type:content-transfer-encoding:x-gm-message-state; bh=IMLlC4/iWHkTn/3WYaDW/FJc9KluMC5QM1SVmXprX8c=; b=RTSiaCR8a+TDQHcSkmt8egLFUW0Ddfab8gBibCYt5oyKpJzwe5BmILkAQdLF2u+VPO t0MsuAopOdwUD1U+mQfvCqAiln3U/IQTaEQFkNJzWk98772zYfG6L5UjALGDlHge5stz Mcb4TLEdEyAQDHVi4YjTdTqK5o6IFbqMdMjRyHCLKlia/A52aCGWNbelo0vwMD29Dchh sdFa8pMVi7c+YvVaardJrXRFQjLw/fQ7eXoA+Jt+KBiUDa2k87928FwSMQDdA61uN8Ss c0V/QGWdI9o4Jth4XXJ91gztViMEKg9J0C1kDnOzoj831R831G47GzN04USpHAzS3q3F 1k3g== MIME-Version: 1.0 Received: by 10.236.103.99 with SMTP id e63mr2451236yhg.116.1334338113554; Fri, 13 Apr 2012 10:28:33 -0700 (PDT) Received: by 10.101.57.14 with HTTP; Fri, 13 Apr 2012 10:28:32 -0700 (PDT) In-Reply-To: <03.6A.35770.215388F4@pb1.pair.com> 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:28:32 -0400 Message-ID: Cc: internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQm0KED6v0p6qL8bjlTLlLN6DkL0g+nlF/2DxtQM92W221iON7sMDxistv9DbmTcO42qNW2A Subject: Re: [PHP-DEV] Re: Disabling PHP tags by php.ini and CLI options From: tom@punkave.com (Tom Boutell) 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 yea= rs >> > 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 i= t >> > 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 aw= ay >> > 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 > --=20 Tom Boutell P'unk Avenue 215 755 1330 punkave.com window.punkave.com