Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:17390 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 60301 invoked by uid 1010); 23 Jul 2005 20:15:11 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 60285 invoked from network); 23 Jul 2005 20:15:11 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Jul 2005 20:15:11 -0000 X-Host-Fingerprint: 81.169.182.136 ajaxatwork.net Linux 2.4/2.6 Received: from ([81.169.182.136:42921] helo=strato.aixcept.de) by pb1.pair.com (ecelerity 2.0 beta r(6227M)) with SMTP id C3/96-33635-E45A2E24 for ; Sat, 23 Jul 2005 16:15:10 -0400 Received: from [192.168.1.3] (dsl-082-083-225-135.arcor-ip.net [82.83.225.135]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by strato.aixcept.de (Postfix) with ESMTP id 71D4E35C36D; Sat, 23 Jul 2005 22:32:28 +0200 (CEST) Date: Sat, 23 Jul 2005 22:15:23 +0200 Reply-To: Marcus Boerger X-Priority: 3 (Normal) Message-ID: <1932228231.20050723221523@marcus-boerger.de> To: Piotr Roszatycki Cc: internals@lists.php.net In-Reply-To: <200507222041.28215.Piotr_Roszatycki@netia.net.pl> References: <200507221515.36140.Piotr_Roszatycki@netia.net.pl> <200507221956.46532.johannes@php.net> <200507222041.28215.Piotr_Roszatycki@netia.net.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] PHP standard depends on other extensions From: mail@marcus-boerger.de (Marcus Boerger) Hello Piotr, Friday, July 22, 2005, 8:41:28 PM, you wrote: > On Friday 22 of July 2005 19:56, Johannes Schlueter wrote: >> A build with spl statically compiled in is for me just a few k bigger than >> a build without spl. But building spl shared wouldn't work well for two >> reasons: It deals with quite engine-near stuff (like overriding the [] >> syntax or __autoload()) and other extensions behave different depending on >> wether it was compiled in or not (for example MySQLi's MysqliException is >> extended from SPL's RuntimeException if available at compile time) >> >> btw. I don't see a reason for building basic extensions as shared... > In the other way, SPL requires compiled-in XML library because if even I can > get XML in shared extension then SPL will be without SimpleXMLIterator, etc. > Should I consider spl with simplexml as basic extensions? In that case you don't need SimpleXMLIterator from SPL and that's it (done automatically for you by your decision). And you cannot build SPL shared anyway. > I'd like to have very light php binary so it could be used as interpreter for > system scripts. Why must it be lightweight for that? Do you really belive that loading the completion library from newer bash or zsh is lightweight and tiny? Best regards, Marcus mailto:mail@marcus-boerger.de