Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:56390 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 59183 invoked from network); 18 Nov 2011 11:05:52 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Nov 2011 11:05:52 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.160.170 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.160.170 mail-gy0-f170.google.com Received: from [209.85.160.170] ([209.85.160.170:56933] helo=mail-gy0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 0E/E8-06569-E0C36CE4 for ; Fri, 18 Nov 2011 06:05:50 -0500 Received: by ghrr20 with SMTP id r20so456458ghr.29 for ; Fri, 18 Nov 2011 03:05:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=t1eaZ20qmPzlveXX7chKMI1eBBG0kJHzDtfSGuRYen8=; b=QTG6aKh3Dsc/011FWIcWiCRbJAmCUQZ3uoDAi9/814g/YrhEtcNByk7yEbE2Hs7GJd qQYGOZQW37jQTWDEKMw4WekhDTfcfO5hUgzqleMv2czsJPak2wUd0ykZeTCdz2fVS4Gb U6V+s0yqYnI0y8XH6XBvMua1lZsD6XYwHUcRE= MIME-Version: 1.0 Received: by 10.236.116.9 with SMTP id f9mr4002149yhh.0.1321614347724; Fri, 18 Nov 2011 03:05:47 -0800 (PST) Received: by 10.147.99.18 with HTTP; Fri, 18 Nov 2011 03:05:47 -0800 (PST) In-Reply-To: References: <4EC578C9.4000408@ralphschindler.com> Date: Fri, 18 Nov 2011 12:05:47 +0100 Message-ID: To: Derick Rethans Cc: Ralph Schindler , internals Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] Changes to constructor signature checks From: pierre.php@gmail.com (Pierre Joye) I strongly disagree, this encourages bad practices. We could however reduce the error level to warning. On Fri, Nov 18, 2011 at 10:54 AM, Derick Rethans wrote: > On Thu, 17 Nov 2011, Ralph Schindler wrote: > >> That said, we really should consider removing this limitation from const= ructor >> signature checking. =A0Not only is it a BC break, it doesn't make sense = in the >> context of PHP. > > I agree, we should not be having that check for constructors based on > the points you raised. > > cheers, > Derick > > -- > http://derickrethans.nl | http://xdebug.org > Like Xdebug? Consider a donation: http://xdebug.org/donate.php > twitter: @derickr and @xdebug > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > --=20 Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org