1 Answers
Answer: Option 3
We can use the memory_get_usage() function, and to get the highest amount of memory used at any point, we can use the memory_get_peak_usage() function.
4 views
Answered