Repository navigation
Conversation
|
This change is acceptable for master only. Can you first retarget the PR and afterwards rebase your branch onto master? |
b342d67 to
a276d2b
Compare
Done. |
| && size != 130987 | ||
| && size != 262237 | ||
| && size != 524521 | ||
| && size != 1048793 |
There was a problem hiding this comment.
What is the reason to not allow number larger than 1048793?
There was a problem hiding this comment.
I'm not sure; I only know that 1048793 has been the max since 2013
There was a problem hiding this comment.
and 1048793 is the largest entry in the prime_numbers array in ext/opcache/zend_accelerator_hash.c
a276d2b to
a5bab16
Compare
a5bab16 to
531bd54
Compare
jorgsowa
left a comment
There was a problem hiding this comment.
This makes sense. Can you add entry in UPGRADING?
531bd54 to
8741ae0
Compare
done |
|
Should this still target master or can we get it in PHP 8.6? |
|
This should target master. Let's wait for whole CI to pass. |
|
Thanks! |
I think it improves clarity to be explicit about what values are allowed and to not implicitly coerce them.
At a minimum, MAX_ACCEL_FILES should be increased to be the real max value as this is a footgun.