Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:96132 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 69753 invoked from network); 25 Sep 2016 09:29:28 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Sep 2016 09:29:28 -0000 Authentication-Results: pb1.pair.com smtp.mail=leight@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=leight@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.218.50 as permitted sender) X-PHP-List-Original-Sender: leight@gmail.com X-Host-Fingerprint: 209.85.218.50 mail-oi0-f50.google.com Received: from [209.85.218.50] ([209.85.218.50:34281] helo=mail-oi0-f50.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 66/16-11573-4F897E75 for ; Sun, 25 Sep 2016 05:29:25 -0400 Received: by mail-oi0-f50.google.com with SMTP id a62so178703157oib.1 for ; Sun, 25 Sep 2016 02:29:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=SgwgM79dNe4y37DoZ2DWBUN+sp3JkZL/wxtOp9Wwg2k=; b=AqDzEuY3S9lA/8ybHYf3t+9S9lhkO4nLIp0s/c59oJE06IVQTpYO8p9RaZINQSo/4x 3QkPzxxdz6orFQQNfAXuHtgKR2gN4vwy4zif+rntlaKqFsFJ19x2RbeECF/wLeeIBIk4 dh4ODehlGeIXChOyupRaNGsLWCGPHH2AB0y3VfY0h17cpIoZcdNMc1f5el8k5LbXb0+5 Lt85I+4I0cCfOJ1S0hE67Lg3SRlwvPvxyPtKLnCFlJrnwv0R/CC0zW40K/8WP/RUTBUM z6hk0z1Wb8QQzAb3IyHqGEPxTglOXI0euLWclyRwXHt43kn6BIACbQz1unTqh3F+FO2j p4Ug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=SgwgM79dNe4y37DoZ2DWBUN+sp3JkZL/wxtOp9Wwg2k=; b=QWeHUirtqECxZT8/GbzOSVYuC5DT34KyYbJExqF+JgQC62k9bun5ysbD+YVY+DL3sD bWlHWje8ogIn0+MuQ7v5iJ8cVB7xlmc2euTWCTTu5rqzJlHN6qMU5KJE6XHEP3JJXjTt rPIOuzxpQ209t6wRV1oTvCAQjQI/lQxPZgzZ/6TW+jRo5r8YsZHGgQaAJD1pgM7CK0ca zSpN9U9XFumpnpBK8XGTD8+daBelZ2/A100AmX7jy59VzNIkdtVOWvlemoUfug2pamaz a7fzq1V3vqXLu2vhiQUyJvwnLz9lFcrS4mvm5GCzgPBmBeImB/cB/glByJOgXambRo9b sbTg== X-Gm-Message-State: AE9vXwPcnbZVV4Mlrcr5SW2enZp4jHrClj2BlkvaMs3+0KVAYMI9fnjpCdscJyQvqXR4jNDznKjFF9evkRiPvA== X-Received: by 10.202.73.76 with SMTP id w73mr18712131oia.40.1474795761680; Sun, 25 Sep 2016 02:29:21 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Sun, 25 Sep 2016 09:29:11 +0000 Message-ID: To: Pierre Joye , Dan Ackroyd Cc: PHP internals Content-Type: multipart/alternative; boundary=001a1134fc327dc802053d51a52d Subject: Re: [PHP-DEV] [VOTE] get_class() disallow null parameter From: leight@gmail.com (Leigh) --001a1134fc327dc802053d51a52d Content-Type: text/plain; charset=UTF-8 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. --001a1134fc327dc802053d51a52d--