Re: I have two identical keys in an array.
[email protected] (Romain Moyne)
| Newsgroups | php.general |
|---|---|
| Message-ID | <CA+ma9+vJOs+1CmkkBGwTYFwO0cREBN3dtozwA4iWdt8r2UcqLA@mail.gmail.com> |
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 <[email protected]> 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 <[email protected]> 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 >