Re: I have two identical keys in an array.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxx> 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@xxxxxxxxxxxxx> 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

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux