Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:55500 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 14932 invoked from network); 18 Sep 2011 15:17:32 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Sep 2011 15:17:32 -0000 Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.83.54 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 74.125.83.54 mail-gw0-f54.google.com Received: from [74.125.83.54] ([74.125.83.54:49807] helo=mail-gw0-f54.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B3/B3-22692-A8B067E4 for ; Sun, 18 Sep 2011 11:17:31 -0400 Received: by gwj18 with SMTP id 18so5146228gwj.13 for ; Sun, 18 Sep 2011 08:17:28 -0700 (PDT) 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; bh=/V0koo7RVIhza0qKUHrugH+zBmpHlkQVhkpbPkVKt5U=; b=XGIMwDl0JriyT90e+RcP6G+SsWyqQAWFIuwANtbeT8pQA0/nBSqaGYAhM8J+pQnKfZ +NdN/g+PwlSKgVvkCcS1x7rLQnKa5yNVDXlkvFL+u7Mc+jxDQHJpn0wGJdN2xUGq/xdw sWXrsrkY6q4lt21bZKqY++2Re1JE5CvhJ1Ar0= MIME-Version: 1.0 Received: by 10.146.248.18 with SMTP id v18mr1321731yah.20.1316359048079; Sun, 18 Sep 2011 08:17:28 -0700 (PDT) Received: by 10.147.41.10 with HTTP; Sun, 18 Sep 2011 08:17:28 -0700 (PDT) In-Reply-To: References: <4E74E5A0.2030006@sugarcrm.com> Date: Sun, 18 Sep 2011 17:17:28 +0200 Message-ID: To: Derick Rethans Cc: Stas Malyshev , "RQuadling@GMail.com" , PHP internals Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] __constructor parameter limitations. From: pierre.php@gmail.com (Pierre Joye) On Sun, Sep 18, 2011 at 5:09 PM, Derick Rethans wrote: > On Sat, 17 Sep 2011, Stas Malyshev wrote: > >> On 9/17/11 6:27 AM, Richard Quadling wrote: >> > With the recent BC with regard the locking of the constructor's >> > signature for subclasses, what is the expected mechanism for allowing >> > a subclass to have additional parameters? >> >> I think the whole "strict parameters" thing has gone into somewhat wrong >> direction and now we seem to have tons of useless errors and restrictions. > > If you don't want those warnings, turn them off! That's why there is a > specific error level for it. Well, that won't help for fatal error, which is what's this discussion is all about, or almost :) -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org