Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:67043 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 84437 invoked from network); 11 Apr 2013 08:00:13 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Apr 2013 08:00:13 -0000 Authentication-Results: pb1.pair.com smtp.mail=julienpauli@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=julienpauli@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.41 as permitted sender) X-PHP-List-Original-Sender: julienpauli@gmail.com X-Host-Fingerprint: 209.85.212.41 mail-vb0-f41.google.com Received: from [209.85.212.41] ([209.85.212.41:34618] helo=mail-vb0-f41.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 27/70-14351-B8D66615 for ; Thu, 11 Apr 2013 04:00:11 -0400 Received: by mail-vb0-f41.google.com with SMTP id f13so1052443vbg.28 for ; Thu, 11 Apr 2013 01:00:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=g547FhGcG6R+LFMUYa3fly14fVrl3IDE/G6RyG1/L/U=; b=KD93pOazb+JTxzcf5HTcInbH6FyTjrCisPwWZExWJry52qsYJdjUBsH1OdKNscDqWl zxZnYv45fMjhwTl+9lokHSP6p2X5Nzf4Ek7pzxZu2tvDF8er77Yw7wdIO+pwL4pGxnML RVeT8J/hd1wOpF+tvh/go8BTwyPjU7GGGR36dUfBosrfhjD0jWOHvyrcvNQExvRmr7jU MSh0dghhca6Q2hp+Tkag7292RDhNu8M1P+Wt5o03r+0t6Bc/vfifhuHo3v4qu7lF3wTT RL/SPdAWsZMMn9K9bmnpM0f5SAtsXup2/MHNk7vBbZtOHLjrNPe5rkBU2WfxZ0vKLVau iIWg== X-Received: by 10.220.104.20 with SMTP id m20mr4080338vco.70.1365666906344; Thu, 11 Apr 2013 00:55:06 -0700 (PDT) MIME-Version: 1.0 Sender: julienpauli@gmail.com Received: by 10.221.9.133 with HTTP; Thu, 11 Apr 2013 00:54:26 -0700 (PDT) In-Reply-To: References: Date: Thu, 11 Apr 2013 09:54:26 +0200 X-Google-Sender-Auth: xKwYHnU62PqW2b7i_kneC_31hD4 Message-ID: To: Dmitry Stogov Cc: Pierre Joye , PHP Internals Content-Type: multipart/alternative; boundary=047d7b3437b8d5c45704da111a3b Subject: Re: [PHP-DEV] Extension loading improvements From: jpauli@php.net (Julien Pauli) --047d7b3437b8d5c45704da111a3b Content-Type: text/plain; charset=ISO-8859-1 On Wed, Apr 10, 2013 at 7:14 PM, Dmitry Stogov wrote: > Hi, > > 1) I didn't get why do we need fprintf("Loaded/Unloaded extension"). It'll > break all the tests in DEBUG mode > Great catch > > 2) zend_error() may work through SAPI handler (e.g. for FastCGI sapi it > may try to send error message to WebServer while request context is not > initialized yet). I think it must work now, but should be double checked. > > Thanks. Dmitry. > Ok, Do you think as well we could build specific tests for this part ? We could pre-build some shared objects with different known behavior, and test for loading extensions and Zend extensions for example. Julien.Pauli --047d7b3437b8d5c45704da111a3b--