P

Pritvik • 5.07K Points
Tutor III

Q. If we transfer arrays by value to a read-only function is it decreasing the performance of execution in comparison with transferring them by reference?

  • (A) Yes, since the interpreter needs constantly to create a copy of the array before transfer it to the function.
  • (B) Yes, but only if the function changes the array values.
  • (C) Yes, but only if the array is big.
  • (D) No
  • Correct Answer - Option(D)
  • Views: 97
  • Filed under category PHP

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.


Question analytics