Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:43761 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 42688 invoked from network); 23 Apr 2009 06:14:02 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Apr 2009 06:14:02 -0000 Authentication-Results: pb1.pair.com header.from=kalle.php@gmail.com; sender-id=pass; domainkeys=bad 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.218.161 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: kalle.php@gmail.com X-Host-Fingerprint: 209.85.218.161 mail-bw0-f161.google.com Received: from [209.85.218.161] ([209.85.218.161:65003] helo=mail-bw0-f161.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 3B/AA-33545-82700F94 for ; Thu, 23 Apr 2009 02:14:02 -0400 Received: by bwz5 with SMTP id 5so357424bwz.23 for ; Wed, 22 Apr 2009 23:13:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=bUsDuNA/gLP9fDBchv+DgW4XjbWEBcocgxqwD90M3rg=; b=lfVCGH1YVvYtBg8vjb5hClcfTKBE0ptvdMO7w7FKL8Se7GyqBHEEsZTVcjWDR9lUyx VCU4E8bzJSv4ZP9S2+V6rFmN4wwpN7rRp/Nd+RM8nghfnPk/VNfOKv2b/27nsflgx7Ho DP7DDUiGEBbylCBbQd0Zqr1fRzeLTFkwDji2Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=qgxxBzp4gTqWEJPCoJaLZAIK0UouaFvF2e61OYnw7pmKf4ZwmD0DudeyOFiekqACZW Kxg+8CtPBPi3dlKGYMCvHpkiSmdeEWz6PbDT9hTV11sCFgrCELjXmV58Mo4repW5Hb5G 8yN0Jwetaqgkl2ihtRCUpyI+qmS1kAhgvvbtg= MIME-Version: 1.0 Sender: kalle.php@gmail.com Received: by 10.204.57.81 with SMTP id b17mr553718bkh.186.1240467237856; Wed, 22 Apr 2009 23:13:57 -0700 (PDT) In-Reply-To: <7f3ed2c30904212356x17fc759dm64a4a793dd3360f@mail.gmail.com> References: <2dedb8a0902061106p4333682g56a1ec29196e7f3e@mail.gmail.com> <1240357055.6159.9.camel@goldfinger> <7f3ed2c30904212356x17fc759dm64a4a793dd3360f@mail.gmail.com> Date: Thu, 23 Apr 2009 08:13:57 +0200 X-Google-Sender-Auth: 53d76c8ee955a18a Message-ID: <2dedb8a0904222313i68f40240t35593c055fdb5f19@mail.gmail.com> To: Hannes Magnusson Cc: =?ISO-8859-1?Q?Johannes_Schl=FCter?= , Internals Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Throwing E_DEPRECATED on startup From: kalle@php.net (Kalle Sommer Nielsen) 2009/4/22 Hannes Magnusson : > > There are couple of issues with throwing errors at startup: > 1) They are thrown so damn early that the user will never see them > 2) run-tests.php gets very confused and starts expecting HTTP headers > in the EXPECT section > > If we could delay the checks until after php_module_startup().. The patch is just like the one in HEAD (for E_WARNINGS about removed configurations), meaning that we may need to change it after there aswell. > > -Hannes > > -- Kalle Sommer Nielsen kalle@php.net