Re: What to do with "$array[foobar]"?

From: Date: Sat, 11 Jan 2020 00:29:40 +0000
Subject: Re: What to do with "$array[foobar]"?
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-108095@lists.php.net to get a copy of this message
> On Jan 10, 2020, at 2:58 PM, Stanislav Malyshev <smalyshev@gmail.com> wrote: > > The first part seems to make sense but I don't think losing "$array[0]" > does... I get the consistency argument but I feel most people would > rather have this useful syntax working and not worry about the fact that > it's theoretically "inconsistent". Consistency only helps when it allows > to make useful inferences, something not working is rarely useful > inference. Agreed. -Mike

« previous php.internals (#108095) next »