Thanks Rowan. I can appreciate that rationale.
Also let’s me in on why we might want to have an indexed array that is not
necessarily sequential - but are integers.
Thanks again.
Cheers,
Josh
> On Aug 17, 2020, at 4:17 AM, Rowan Tommins wrote:
>
> On Mon, 17 Aug 2020 at 05:19, Michael Voříše
On Mon, 17 Aug 2020 at 05:19, Michael Voříšek - ČVUT FEL <
voris...@fel.cvut.cz> wrote:
> This seems almost as a bug, strict types should apply also for array key
> which is currently not the case.
>
> https://3v4l.org/epv5s
No, it really shouldn't. In hindsight, "strict_types" was a bad name f
This seems almost as a bug, strict types should apply also for array key
which is currently not the case.
https://3v4l.org/epv5s
With kind regards / Mit freundlichen Grüßen / S přátelským pozdravem,
Michael Voříšek
On 17 Aug 2020 02:56, Josh Bruce wrote:
I'm sure this conversation has hap
I’m sure this conversation has happened before. But it’s on my mind as I work
on some things on wanted to ask internals real quick before getting back to it.
[“2” => “hello”, “4” => “internals”] -> [2 => “hello”, 4 => “internals”]
Meanwhile:
[“hello”, “internals”] -> cast to object -> (“0” => “