You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Oh this happens during ZPP parsing, the separation happens earlier than the Deprecated: arsort(): Passing null to parameter #2 ($flags) of type int is deprecated deprecation is emitted, so the function assumes the array is separated already while in reality the error handler caused the RC to be 2, which means it now needs to be separated while previously it did not.
This would work, and would need to be done for the other functions too, but it's a general issue when ZPP can indirectly invoke user code after the array should've been separated:
Activity
ndossche commentedon Nov 14, 2024
Oh this happens during ZPP parsing, the separation happens earlier than the
Deprecated: arsort(): Passing null to parameter #2 ($flags) of type int is deprecateddeprecation is emitted, so the function assumes the array is separated already while in reality the error handler caused the RC to be 2, which means it now needs to be separated while previously it did not.ndossche commentedon Nov 14, 2024
This would work, and would need to be done for the other functions too, but it's a general issue when ZPP can indirectly invoke user code after the array should've been separated:
iluuu1994 commentedon Nov 15, 2024
I'm not sure we want to go down that rabbit hole...
Should go away in PHP 9.
Defer user error handlers raised from user-code opcodes