Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:66394 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 24017 invoked from network); 1 Mar 2013 15:08:32 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Mar 2013 15:08:32 -0000 Authentication-Results: pb1.pair.com header.from=xwisdom@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=xwisdom@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.214.42 as permitted sender) X-PHP-List-Original-Sender: xwisdom@gmail.com X-Host-Fingerprint: 209.85.214.42 mail-bk0-f42.google.com Received: from [209.85.214.42] ([209.85.214.42:41398] helo=mail-bk0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 0E/60-19719-F64C0315 for ; Fri, 01 Mar 2013 10:08:32 -0500 Received: by mail-bk0-f42.google.com with SMTP id jk7so1414890bkc.1 for ; Fri, 01 Mar 2013 07:08:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=5esEFofgtnkLXTJ/rQ/nq3YLAS563M5jJsXNzlZ+tn4=; b=I6W/ZwddM0WRs/4Nz6C73mocSGCpF5ffEOK0myZ03wjTdzo+yAPi275HiErUSiysgj hNxUWmk5u1TE572DhMW/vTKMaYtnNbxxQIf852k08RF3VTibqKjM1nswI5VuVuP9FaOh 4Zlw2HOIXzh5KjbKH5tmG0+fSAgO367H9NgDJ73iaM7TK3oXhdhMbHUFiBbHuuCIrz7p JFdWLq6ici1IwXjAksbdum1V757EuezuOEi3Tk+5z23w/Buj0DSwAWLG8+a8HpmqcMKG dHggQ0Fjau2PHKUBsHL2PH5nh4cZ3uv8EJ0AKZqfcTKm8uCBBAPjD8w/Iaih+7jw8cWU Lhnw== MIME-Version: 1.0 X-Received: by 10.205.134.3 with SMTP id ia3mr4048412bkc.92.1362150509241; Fri, 01 Mar 2013 07:08:29 -0800 (PST) Received: by 10.204.41.135 with HTTP; Fri, 1 Mar 2013 07:08:29 -0800 (PST) In-Reply-To: References: <512FBA50.4000308@sugarcrm.com> Date: Fri, 1 Mar 2013 10:08:29 -0500 Message-ID: To: Julien Pauli Cc: Kalle Sommer Nielsen , Stas Malyshev , Anthony Ferrara , "internals@lists.php.net" Content-Type: multipart/alternative; boundary=000e0cdfd6823c1d0004d6de6187 Subject: Re: [PHP-DEV] Include XDebug and Suhosin Patch in Core for 5.5 From: xwisdom@gmail.com (Raymond Irving) --000e0cdfd6823c1d0004d6de6187 Content-Type: text/plain; charset=ISO-8859-1 I agree with adding XDebug to core distribution but it must be disabled by default. On Fri, Mar 1, 2013 at 8:28 AM, Julien Pauli wrote: > On Fri, Mar 1, 2013 at 12:49 PM, Kalle Sommer Nielsen > wrote: > > > 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 > > > > +1 , Some time ago when I first designed my first extensions studying the > Zend extension loading mechanism I thought about such a system and was > surprised not to find one into the engine. > It shouldn't be too hard to develop, except if you start thinking about > versions dependencies of the modules as well. > > In the same pipe, I was thinking at some dlunload() function which would > enable unoloading modules at runtime, but that's another task, not very > trivial though. > > Julien > > > > > > > > > -- > > regards, > > > > Kalle Sommer Nielsen > > kalle@php.net > > > --000e0cdfd6823c1d0004d6de6187--