Affects Version/s: 3.10.1
Fix Version/s: 3.11
PHP8 shows exceptions about it
From PHP8 change-logs:
Any functions accepting callbacks that are not explicitly specified to
accept parameters by reference will now warn if a callback with reference
parameters is used. Examples include array_filter() and array_reduce().
This was already the case for most, but not all, functions previously.