Sail E0 Webinar
Question
Which of the following PHP functions can be used to get the current memory usage?
Options:
A .  get_usage()
B .  get_peak_usage()
C .  get_memory_usage()
D .  get_memory_peak_usage()
Answer: Option C


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.



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers