Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:85984 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 18252 invoked from network); 28 Apr 2015 07:35:59 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Apr 2015 07:35:59 -0000 Authentication-Results: pb1.pair.com header.from=php@lvl.fastmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=php@lvl.fastmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain lvl.fastmail.com designates 66.111.4.25 as permitted sender) X-PHP-List-Original-Sender: php@lvl.fastmail.com X-Host-Fingerprint: 66.111.4.25 out1-smtp.messagingengine.com Received: from [66.111.4.25] ([66.111.4.25:40159] helo=out1-smtp.messagingengine.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E7/21-17556-E583F355 for ; Tue, 28 Apr 2015 03:35:58 -0400 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 54B5420773 for ; Tue, 28 Apr 2015 03:35:56 -0400 (EDT) Received: from web5 ([10.202.2.215]) by compute1.internal (MEProxy); Tue, 28 Apr 2015 03:35:56 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.com; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=uEwr/NXyVNvp2k/Odyh2ce55kwo=; b=C97a9e nNZxKtZ2N4Cu2WR1nZlFUhjS+wXjU9P3oCPOHJNLV1Gr+U/nCSIUZLf/GCt8S1SA xkWctPj5s2x52MNKl6yh20tg593KYFGNxSLC7vYnnH0XwSvXD0sMXfkdzirW8jis wUa58YjZKnHC/1xGf3zQohba/iHr2Ns683sWE= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=uEwr/NXyVNvp2k/ Odyh2ce55kwo=; b=gb7+2Bh+Qwg8ogRiMBDdv73aINJBV+dt3Q7vweuz7jxNXnc /3fwabvrTI/J1o83oNkSJuT53W0R5Ud+6GktUb6NXHg9WfSgw3wiIVUpfv2SMlm3 bfhH+2Wxqygq7svFlOdwxRQvL9UXpCBMo2uTwMoMV93aHNzdLzP7ErNiFdIs= Received: by web5.nyi.internal (Postfix, from userid 99) id 26536A7F287; Tue, 28 Apr 2015 03:35:56 -0400 (EDT) Message-ID: <1430206556.3044534.259509513.2A02A538@webmail.messagingengine.com> X-Sasl-Enc: hz0b7vBQW2IdgwvwFiiTw92WIRceq6nhrMr1pK0x5D8A 1430206556 To: internals MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - ajax-049af6e1 In-Reply-To: References: <1430169137.2886384.259330117.00E1734F@webmail.messagingengine.com> Date: Tue, 28 Apr 2015 09:35:56 +0200 Subject: Re: [PHP-DEV] Resolution of static variables in the function scope not using forwarded calling information? From: php@lvl.fastmail.com > This last is the only one that seems to be a bug to me; I think if you > step through the others you'll see why they are fine. Maybe the last > isn't a bug either; I'll try to think about this more but it does > appear to be a bug. FWIW, an example that makes the second situation slightly more clear: http://3v4l.org/CcrL8 I would have expected the static function variable and get_called_class() to always refer to the same class/variable space, parent:: or not. Oddly enough, referring to static class variables with "static::" never seems to use late static binding at all? http://3v4l.org/G9nCE Thanks, Laszlo