Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:66392 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 9709 invoked from network); 1 Mar 2013 11:49:06 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Mar 2013 11:49:06 -0000 Authentication-Results: pb1.pair.com header.from=kalle.php@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=kalle.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.128.179 as permitted sender) X-PHP-List-Original-Sender: kalle.php@gmail.com X-Host-Fingerprint: 209.85.128.179 mail-ve0-f179.google.com Received: from [209.85.128.179] ([209.85.128.179:56136] helo=mail-ve0-f179.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 58/F4-19541-0B590315 for ; Fri, 01 Mar 2013 06:49:05 -0500 Received: by mail-ve0-f179.google.com with SMTP id da11so2733263veb.24 for ; Fri, 01 Mar 2013 03:49:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=REH068dZdTvZUULh0lVW9JT/xaypd7uxiQMi6/xXiDs=; b=BIxSDY1xgYI5BMrtbLRVbf5TUJij8nJ4qnwa9kCM2UvuZqhwVsZR5Mpm3/5rJa0nbj mJo5yz6tC6e1GslA838UcHkisIgwrMaSt+z3CoDTSCMZJ08DGRAXPsRPBe830BFQB0sz zT+dg5TpYGh2ER6XrhlT9JLirdNJLEhAgJy1hJQH3bFtElTUyAw1KnIrQiGNjpjPTjYS UnxBc2J3VF6RWRWzeuvgP49dCLigv0mgoctA2C8Inc+KtaEt/vvu6eVzQDlTST8E4VEs 6ZHz6pjQLr4zQ6IcnrjkCc7xgbWSs5pl1oG6FTPejYxn5CNaCWe2ouZuxOIj/NMwUHgO Q8ZA== MIME-Version: 1.0 X-Received: by 10.58.56.161 with SMTP id b1mr4048223veq.42.1362138542581; Fri, 01 Mar 2013 03:49:02 -0800 (PST) Sender: kalle.php@gmail.com Received: by 10.58.226.225 with HTTP; Fri, 1 Mar 2013 03:49:02 -0800 (PST) In-Reply-To: References: <512FBA50.4000308@sugarcrm.com> Date: Fri, 1 Mar 2013 12:49:02 +0100 X-Google-Sender-Auth: NYAbJ6FAJ7nfSoNDR1v5CyLNkVY Message-ID: To: Julien Pauli Cc: Stas Malyshev , Anthony Ferrara , "internals@lists.php.net" Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] Include XDebug and Suhosin Patch in Core for 5.5 From: kalle@php.net (Kalle Sommer Nielsen) Hi 2013/3/1 Julien Pauli : > I guess the ini declaration order and then the order the modules get loaded > in the engine. We could also look at implementing a module-load-order internally in the zend_module struct, as in some extensions like EXIF relies on mbstring, while the ZEND_MODULE_DEP()s works fine for checking for mbstring, it does not work if mbstring is loaded after. So what I'm saying is that mbstring have a higher load order, meaning even though we have this in php.ini[1], PHP will load mbstring first because it has the lowest value (requiring it to start first), or giving exif a higher than 'normal' value (causing it to load after, as it is after all, exif that depends on mbstring, not the other way around). The same thing can be done with engine level extensions (zend_extension), where it probably would make more sense than for 90% of all 'php' extensions. [1]: extension=php_exif.dll extension=php_mbstring.dll -- regards, Kalle Sommer Nielsen kalle@php.net