Skip to content

Fix call_user_func_array in the codebase with test coverage #34301

Closed
@andrewbess

Description

@andrewbess

Description (*)

The call of the function call_user_func_array with associative array as params if param names for callback function are different with keys in provided associative array provokes the fatal error in PHP >= 8.0.
As part of this task, we need to use array_values($params) to make the behaviour the same with PHP < 8.0.
Also, we need coverage of the changed functionality with unit or integration tests.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions