Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:29176 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 69369 invoked by uid 1010); 4 May 2007 17:46:50 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 69354 invoked from network); 4 May 2007 17:46:50 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 May 2007 17:46:50 -0000 Authentication-Results: pb1.pair.com smtp.mail=ilia@prohost.org; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=ilia@prohost.org; sender-id=unknown Received-SPF: error (pb1.pair.com: domain prohost.org from 64.233.166.181 cause and error) X-PHP-List-Original-Sender: ilia@prohost.org X-Host-Fingerprint: 64.233.166.181 py-out-1112.google.com Linux 2.4/2.6 Received: from [64.233.166.181] ([64.233.166.181:34090] helo=py-out-1112.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 3C/E6-17046-9817B364 for ; Fri, 04 May 2007 13:46:50 -0400 Received: by py-out-1112.google.com with SMTP id a25so780399pyi for ; Fri, 04 May 2007 10:46:47 -0700 (PDT) Received: by 10.35.80.20 with SMTP id h20mr5694435pyl.1178300806941; Fri, 04 May 2007 10:46:46 -0700 (PDT) Received: from ?192.168.1.186? ( [204.101.63.110]) by mx.google.com with ESMTP id f10sm7430074pyh.2007.05.04.10.46.46; Fri, 04 May 2007 10:46:46 -0700 (PDT) In-Reply-To: <1525138013.20070504193205@marcus-boerger.de> References: <139872287.20070504170744@marcus-boerger.de> <9DC00D11-00A5-40DB-A397-8454C48FA448@prohost.org> <1525138013.20070504193205@marcus-boerger.de> Mime-Version: 1.0 (Apple Message framework v752.3) X-Priority: 3 (Normal) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-ID: <7F0AE77B-C82D-4C9E-B48E-3BEEB7C13C94@prohost.org> Cc: internals@lists.php.net Content-Transfer-Encoding: 7bit Date: Fri, 4 May 2007 13:46:44 -0400 To: Marcus Boerger X-Mailer: Apple Mail (2.752.3) Subject: Re: [PHP-DEV] [RFC] Starting 5.3 From: ilia@prohost.org (Ilia Alshanetsky) On 4-May-07, at 1:32 PM, Marcus Boerger wrote: >>> \For the biggest changes i'd like to see the following: >>> 1) Adding PECL/Phar as default extension > >> I really don't think we need phar in core, certainly not enabled by >> default. If someone can make a good case for including it, I'd love >> to hear it. > > Easier distributing/deployment of stuff and phar even allows to use > the > packed files as is from within the package or unpacked without any > change. We use phar already for pear. Having the extension version > that > allows the mentioned untouched unpacking feature would help a lot of > people. Sure, that's why the Phar is there, I don't contest that it is a useful extension, but so are dozens of others inside PECL. To me it does not mean every extension that is at all useful should be included into the standard distro. If anything having in PECL allows for quicker releases and easier upgrade process, since people will mostly compile it in if it is in core, while pecl will 99% of the time be a shared extension. This means built-in version will require a PHP recompile to upgrade, something most people will not do, making them use older, possibly buggy versions. >>> 2) Add open_filename debug info to streams > >> What would this mean for performance and memory usage of file ops? > > An additional malloc and strcpy on opening and an additional free > on closing. We could however limit actual use to --enable-debug > builds. My preference we enable this feature only for debug builds. Ilia Alshanetsky