Re: Whitespace around Paamayim Nekudotayim (double colon)

From: Date: Mon, 15 Feb 2021 22:46:58 +0000
Subject: Re: Whitespace around Paamayim Nekudotayim (double colon)
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-113188@lists.php.net to get a copy of this message
On Mon, Feb 15, 2021, at 2:25 PM, Matthew Brown wrote: > Thanks, now I realise I was probably wrong to bring this up. > > I had it in my mind that "::" could never appear chained together (thinking > of constants), but it's just that I've never seen code that chains them > together – i.e. this is valid: > > A::b()::c()::$d::$e = 5; You were not wrong to bring it up. It's a valid question if you're confused; the end, correct result is to just say "yep, that's a thing" and move on, but that doesn't mean asking about it was wrong. :-) --Larry Garfield

« previous php.internals (#113188) next »