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 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: https://www.php.net/unsub.php