Re: I have two identical keys in an array.

From: Date: Mon, 07 Mar 2022 08:42:16 +0000
Subject: Re: I have two identical keys in an array.
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-327939@lists.php.net to get a copy of this message
Thank you! I disabled opcache and jit and for the last 24h, I didn't get the bug. So yes, I believe it was related to jit. I will continue to monitor this bug in the next few days On Sat, 5 Mar 2022 at 14:55, Christoph M. Becker <cmbecker69@gmx.de> wrote: > 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 (#327939) next »