Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:86181 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 66425 invoked from network); 12 May 2015 20:28:56 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 May 2015 20:28:56 -0000 Authentication-Results: pb1.pair.com smtp.mail=johannes@schlueters.de; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=johannes@schlueters.de; sender-id=unknown Received-SPF: error (pb1.pair.com: domain schlueters.de from 217.114.215.10 cause and error) X-PHP-List-Original-Sender: johannes@schlueters.de X-Host-Fingerprint: 217.114.215.10 mail.experimentalworks.net Received: from [217.114.215.10] ([217.114.215.10:46511] helo=mail.experimentalworks.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A0/C4-41925-58262555 for ; Tue, 12 May 2015 16:28:54 -0400 Received: by mail.experimentalworks.net (Postfix, from userid 1003) id C7A434AD89; Tue, 12 May 2015 22:29:35 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on km31408.keymachine.de X-Spam-Level: * X-Spam-Status: No, score=1.4 required=4.0 tests=ALL_TRUSTED, DNS_FROM_AHBL_RHSBL autolearn=no version=3.3.2 X-Spam-HAM-Report: * -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP * 2.4 DNS_FROM_AHBL_RHSBL RBL: Envelope sender listed in dnsbl.ahbl.org Received: from [192.168.2.34] (ppp-93-104-10-83.dynamic.mnet-online.de [93.104.10.83]) (using TLSv1.2 with cipher DHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: johannes@schlueters.de) by mail.experimentalworks.net (Postfix) with ESMTPSA id 7961E4AD89; Tue, 12 May 2015 22:29:33 +0200 (CEST) Message-ID: <1431462526.23996.7.camel@kuechenschabe> To: bishop@php.net Cc: PHP internals Date: Tue, 12 May 2015 22:28:46 +0200 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu2 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Static method call with single colon results in fatal error, not a parse error? From: johannes@schlueters.de (Johannes =?ISO-8859-1?Q?Schl=FCter?=) Hi, On Tue, 2015-05-12 at 14:44 -0400, Bishop Bettini wrote: > 5.3 and later, including 7 and HHVM: > Fatal error: Call to undefined function bar() 5.3 introduced goto and labels. foo:bar(); is equal to foo: bar(); meaning a label foo and then a function call. johannes