Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:96134 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 78893 invoked from network); 25 Sep 2016 12:31:09 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Sep 2016 12:31:09 -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.213.50 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.213.50 mail-vk0-f50.google.com Received: from [209.85.213.50] ([209.85.213.50:34187] helo=mail-vk0-f50.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id EC/17-11573-B83C7E75 for ; Sun, 25 Sep 2016 08:31:07 -0400 Received: by mail-vk0-f50.google.com with SMTP id v205so22615447vke.1 for ; Sun, 25 Sep 2016 05:31:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=9dk4bVGip3iyq1wXrAiNQdTEXUYv73G+xEmgMmlLLNQ=; b=QP+dkQOH6r3i/u93g9JdfYB2hkMDC/tcZ63hg65c+453xQDa57zu0YNYAHNEXvrUmi UsAWbOiUZroFDvW1GvlZIJEDyJkQyMHff3UUv4/jYwp5+T1EPNFQksyAQL63PrINENT0 skSjcBQWavHFspVpPe9U0UQXzMBvCc9c9S2UkSp8AHDsHdMXHcs2HPkWtBrDuv5rca7W qRCpCijcbhKvZvZuL9zVTmn1tR0GOWDYx3s+N5iTXFhEvADyea7973hMBcSQpIsN9Bz3 5NjmuoTgyYBmHqKzdUQ24+bVM9AyhGfI7YMHvnfwTO6id8rBdfdq9MmrVv99n4grkRcF uZeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=9dk4bVGip3iyq1wXrAiNQdTEXUYv73G+xEmgMmlLLNQ=; b=g+M76sR6Uv3SU/FWU09dnB2ndy9ZW72pB9Ylx5Zex1QiqKija9iem6ZK4Aply7KZuZ J4Qjoh71+xZCuUn4xsKu8ncNqDHItW9QHhJN+mGrLGJTTWpDEvELNjwWL83Hja0kbjEG V/qgz9x2z2nYNlfBKSqY2SXMAPXhSY0wbBiH9xxV1t165cFcHrT9TGFby9dADW5qgjXV oCFrW13ZYTl+kq2S3z8CH5W/+7RbIUpVQADkKl07cvCX5Dldyg20AaG0fR23G3QwQ14Y SaWbPAnbviKEa7ExQlCiZhrAjVVdZOtI4QeEglUFpproUmyhfQ9JAWH0PSuPQ8soZGdy 9k/A== X-Gm-Message-State: AA6/9RmcIc9NdrSaDv+8KDZSTlwl6tDN4huGwibIpao2EyB1Ihhvin8ZTxeTOaW5SuxSePH+Olq119Kk9srkyg== X-Received: by 10.31.227.129 with SMTP id a123mr4599642vkh.65.1474806665127; Sun, 25 Sep 2016 05:31:05 -0700 (PDT) MIME-Version: 1.0 Received: by 10.176.81.178 with HTTP; Sun, 25 Sep 2016 05:31:04 -0700 (PDT) Received: by 10.176.81.178 with HTTP; Sun, 25 Sep 2016 05:31:04 -0700 (PDT) In-Reply-To: References: Date: Sun, 25 Sep 2016 19:31:04 +0700 Message-ID: To: Leigh Cc: Dan Ackroyd , PHP internals Content-Type: multipart/alternative; boundary=001a114da690632f87053d542fb2 Subject: Re: [PHP-DEV] [VOTE] get_class() disallow null parameter From: pierre.php@gmail.com (Pierre Joye) --001a114da690632f87053d542fb2 Content-Type: text/plain; charset=UTF-8 On Sep 25, 2016 4:29 PM, "Leigh" wrote: > > > > On Sun, 25 Sep 2016 at 06:29 Pierre Joye wrote: >> >> Also this behavior is clearly documented: >> >> http://th1.php.net/manual/en/function.get-class.php >> >> "If object is omitted when inside a class, the name of that class is >> returned." >> >> I am opposed to break BC because we change our mind about how clean is this >> behavior and I recommend the (future) RMs to veto this change. >> >> Cheers >> Pierre > > > This is ambiguous at best. > > "Omitted" and "Not omitted but set to null" are different things. > > I'm +/-0 on the RFC, but I would not agree that the documentation is clear. I agree but it is how it is now. I do not see why we should yet again to try to "clean up" things within 7.x. let at best deprecate this behavior and remove in 8 This is kind of tiny changes that make migrations painful. We had a good serie of releases in 5.x, 7.0 had BC breaks but good and acceptable ones given what is 7.0. we should really try to continue on this road, 7.0 is behind us and we are back to stable branches from a BC pov. --001a114da690632f87053d542fb2--