Re: Static method call with single colon results in fatal error, not a parse error?

From: Date: Tue, 12 May 2015 20:28:46 +0000
Subject: Re: Static method call with single colon results in fatal error, not a parse error?
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-86181@lists.php.net to get a copy of this message
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

« previous php.internals (#86181) next »