Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:94462 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 20040 invoked from network); 11 Jul 2016 00:02:19 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Jul 2016 00:02:19 -0000 Authentication-Results: pb1.pair.com header.from=smalyshev@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=smalyshev@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.161.169 as permitted sender) X-PHP-List-Original-Sender: smalyshev@gmail.com X-Host-Fingerprint: 209.85.161.169 mail-yw0-f169.google.com Received: from [209.85.161.169] ([209.85.161.169:33908] helo=mail-yw0-f169.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 49/93-22463-A02E2875 for ; Sun, 10 Jul 2016 20:02:18 -0400 Received: by mail-yw0-f169.google.com with SMTP id i12so78873845ywa.1 for ; Sun, 10 Jul 2016 17:02:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=vQ6jY71OxN+gjocpNkIk0zbSd94J25IK6mnB9fdZX/Y=; b=RAQjhaSYmCt2imqsETOTOK3GCfFLOaVLmAJMloRnC1z3ElFxR6eZSOv2LsJ56QnWVe zovNAPtifLZ8BxhQFKVxeoc9yyQK7AgBYGMBi8UqU+Fsi+VtuxhGY80tXOJnwk4xlI4I R2AENfsi7vYJkdnRJuwZI3H5w+SkTDIqo5mN5ApnX4ApSdvZQtMH27ju1e5uurnCMTGv eZFXd2p9vWTGYzLZdaHrIFTuLDi/sG/I2jqMqiRlY2nKagWVJEk5L4pV6H9yXs7OZ634 MmS9vT6S/IfVEHhTD3eghDsbSozMQ/ohwWZBTFBinzs2USDWDoWNDD3sJM7kZAxa3O6+ 2N9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=vQ6jY71OxN+gjocpNkIk0zbSd94J25IK6mnB9fdZX/Y=; b=iBN5N0GVFwFtPzHBfLmbG8dC4YB8W+gcHoYaqqU+IRnc3/OAP3hTlUKt+c5Bk17V4h U5cl5YoMVrGKBaEYyUPXZ12kE7Jng8AuA5YOg1o9kfcUemZeaSSNxOZSDVggY4wuK/Sm CsMg3e3rJZwYE8FuaL86MR3PBfRijvn4HBotVKdyFlqz3mCF+Sw76c6kTdrCJuMAXcsy bF17HKFV4dF7enbCP3Be4grrqr5vrJyV02BJ1JTpobzMSqk3nVDLi9SL26oXRQhIlriA HZ8DDXZwml2/sS3vMw2jbzLU9FNVOgAzthCFr2jqlMp1/YxgEQyDitgyYSWH8WwaW/5G aBrw== X-Gm-Message-State: ALyK8tJlmfnoBzActrKEtJItlEdMW6V7T/6gj8Pi/jJFFEjACqX0N20Phhv7U3pU4lAA5w== X-Received: by 10.129.51.149 with SMTP id z143mr2497849ywz.74.1468195290438; Sun, 10 Jul 2016 17:01:30 -0700 (PDT) Received: from [192.168.2.102] (76-220-46-95.lightspeed.sntcca.sbcglobal.net. [76.220.46.95]) by smtp.gmail.com with ESMTPSA id e126sm4555801ywh.6.2016.07.10.17.01.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 10 Jul 2016 17:01:29 -0700 (PDT) To: Nikita Popov , PHP internals , Yasuo Ohgaki References: <7716d180-2365-efc9-e9b3-9fe0998e273b@fleshgrinder.com> Message-ID: Date: Sun, 10 Jul 2016 17:01:20 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [RFC] [Vote] var_info From: smalyshev@gmail.com (Stanislav Malyshev) Hi! >> * Make is_object() return true for IncompleteClass. This is just >> ridiculous. I care zero about the theoretical BC impact. > > I have no idea why it doesn't do so. I'll try to dig up when it was made > so and see if there's some explanation. This is the change that caused it: commit 7b3fb771e4b022a8bf74b1a881dbec67d3ad460b Author: Yasuo Ohgaki Date: Wed Jul 24 09:55:11 2002 +0000 is_object() returns FALSE if object is a "incomplete object". Raise E_NOTICE, instead of E_ERROR, for setting/getting properties to/from a "incomplete object". There's some discussion on this patch: http://grokbase.com/t/php/php-dev/027rwwmc8k/php-cvs-cvs-php4-ext-standard-incomplete-class-c-php-incomplete-class-h-type-c There are references to previous discussions but I couldn't find it. Yasuo, I realize it was a long time ago, but maybe you remember why it was done and can weight in on this? -- Stas Malyshev smalyshev@gmail.com