Re: I have two identical keys in an array.

From: Date: Sat, 05 Mar 2022 13:55:21 +0000
Subject: Re: I have two identical keys in an array.
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-327934@lists.php.net to get a copy of this message
On 05.03.2022 at 14:20, Romain Moyne wrote: > it's nuts. I don't understand. It started to happen when I upgrade from php > 7.2 to php 8.0 > I am running the latest 8.0.16 php version. > > the fact is I can't reproduce it, it happens after a few iteration around > items. Sometimes it happens, sometimes not. Well, then it's hard to further track that down. It *might* be related to JIT compilation; make sure to test without it (opcache.jit_buffer_size=0), or even with OPcache disabled altogether. > On Fri, 4 Mar 2022 at 20:15, AllenJB <php.lists@allenjb.me.uk> wrote: >> >> On 04/03/2022 15:34, Romain Moyne wrote: > >> My best guess would be that one or more of the keys contains a >> non-printable character, such as a null byte. Unless the key is an integer, var_dump() will put double-quotes around it, so apparently, there are no non-printable characters involved here. -- Christoph M. Becker

« previous php.general (#327934) next »