PHP Arrays
Absent any actual need for choosing one method over the other, does passing arrays by value to a read-only function reduce performance compared to passing them by reference?
Yes, but only if the function modifies the contents of the array.
No
Yes, because the interpreter must always create a copy of the array before passing it to the function.
Yes, because PHP must monitor the execution of the function to determine if changes are made to the array.