Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:26819 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 4470 invoked by uid 1010); 6 Dec 2006 16:17:33 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 4454 invoked from network); 6 Dec 2006 16:17:33 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Dec 2006 16:17:33 -0000 Authentication-Results: pb1.pair.com smtp.mail=php@hristov.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=php@hristov.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain hristov.com from 85.92.73.163 cause and error) X-PHP-List-Original-Sender: php@hristov.com X-Host-Fingerprint: 85.92.73.163 iko.gotobg.net Linux 2.6 Received: from [85.92.73.163] ([85.92.73.163:56979] helo=iko.gotobg.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 8D/39-54198-AFCE6754 for ; Wed, 06 Dec 2006 11:17:33 -0500 Received: from irc-new1.mysql.com ([213.115.162.54] helo=[127.0.0.1]) by iko.gotobg.net with esmtpa (Exim 4.52) id 1GrzRy-0007BE-QT; Wed, 06 Dec 2006 18:16:51 +0200 Message-ID: <4576EC94.1010006@hristov.com> Date: Wed, 06 Dec 2006 17:15:16 +0100 User-Agent: Thunderbird 1.5.0.7 (X11/20060911) MIME-Version: 1.0 To: Ilia Alshanetsky CC: internals@lists.php.net References: <4576E93B.6000509@hristov.com> <8C5A5981-2291-418F-8260-E6216C9DA07D@prohost.org> In-Reply-To: <8C5A5981-2291-418F-8260-E6216C9DA07D@prohost.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - iko.gotobg.net X-AntiAbuse: Original Domain - lists.php.net X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - hristov.com X-Source: X-Source-Args: X-Source-Dir: Subject: Re: [PHP-DEV] Interesting dependecies From: php@hristov.com (Andrey Hristov) Hi Ilia, Ilia Alshanetsky wrote: > There really should be no reason for count() to "require" SPL, it should > definitely be possible to compile php with --disable-all and no other > flags, with perhaps an exception for ICU for obvious reasons. ext/standard/array.o(.text+0x6c2): In function `zif_count': /home/andrey/dev/6/ext/standard/array.c:316: undefined reference to `spl_ce_Countable' > > On 6-Dec-06, at 11:00 AM, Andrey Hristov wrote: > >> Hi, >> for the sake of saving time during development, especially in the >> linking phase I decided to disable few extensions. >> In HEAD --disable-all is kind of borked, PHP won't compile afterwards, >> missing ICU enabled probably. Complains about unicode stuff. So, >> no more --disable-all. >> Let's remove XML support because it's not needed >> in this case, maybe some people also don't use XML. >> '--disable-xml' \ >> '--disable-libxml' \ >> '--disable-xmlreader' \ >> '--disable-xmlwriter' \ >> '--disable-dom' \ >> >> Now, SPL complains => --disable-spl. As a next step I can't build >> ext/standard (count relies on SPL). Maybe it's time to remove the >> options for disabling XML. >> >> OTOH, with disabled Reflection, CLI fails to build. >> >> So it's time to enable XML :) >> >> You may safely ignore this email message. >> >> Andrey >> > > Ilia Alshanetsky > Andrey