πŸ“Š PHP
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
πŸ’¬ Discuss
βœ… Correct Answer: (D) No

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
178
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Pritvik
Publisher
πŸ“ˆ
84%
Success Rate