Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:56887 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 1840 invoked from network); 12 Dec 2011 14:04:25 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Dec 2011 14:04:25 -0000 Authentication-Results: pb1.pair.com header.from=sean@seancoates.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=sean@seancoates.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain seancoates.com from 64.15.79.181 cause and error) X-PHP-List-Original-Sender: sean@seancoates.com X-Host-Fingerprint: 64.15.79.181 iconoclast.caedmon.net Received: from [64.15.79.181] ([64.15.79.181:44916] helo=iconoclast.caedmon.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 7A/53-17834-7E906EE4 for ; Mon, 12 Dec 2011 09:04:24 -0500 Received: from localhost (localhost [127.0.0.1]) by iconoclast.caedmon.net (Postfix) with ESMTP id 7EC14784064; Mon, 12 Dec 2011 09:01:11 -0500 (EST) X-Virus-Scanned: Debian amavisd-new at iconoclast.caedmon.net Received: from iconoclast.caedmon.net ([127.0.0.1]) by localhost (iconoclast.caedmon.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pzqFJBbtOUiQ; Mon, 12 Dec 2011 09:01:03 -0500 (EST) Received: from [192.168.145.200] (modemcable087.149-80-70.mc.videotron.ca [70.80.149.87]) by iconoclast.caedmon.net (Postfix) with ESMTPSA id 0CAA8784060; Mon, 12 Dec 2011 09:01:00 -0500 (EST) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=windows-1252 In-Reply-To: <4EE60332.7000809@emag.ro> Date: Mon, 12 Dec 2011 09:04:07 -0500 Cc: PHP Developers Mailing List Content-Transfer-Encoding: quoted-printable Message-ID: <4369DB03-900A-4A7A-B029-A8E6D43FC519@seancoates.com> References: <4EE60332.7000809@emag.ro> To: Bogdan Bezuz X-Mailer: Apple Mail (2.1084) Subject: Re: [PHP-DEV] Unexpected behavior for :: From: sean@seancoates.com (Sean Coates) > I'm not sure if this is the desired behavior and i don't want to = submit a bogus bug report. >=20 =85 > At first i would expect an error since A was not instantiated, at most = i would expect to return NULL but not 'stuff'. > Is this a bug ? This is explained here: http://php.net/language.oop5.basic#example-155 = (the paragraph after this example, and in example #2) S