Single Choice Not Set

QWhich of the following PHP functions can be used to get the current memory usage?

ID: #2421 Functions in PHP MCQ 1,094 views
Question Info
#2421Q ID
Not SetDifficulty
Functions in PHP MCQTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A get_usage()
  • B get_peak_usage()
  • C get_memory_usage()
  • D get_memory_peak_usage()
Correct Answer

Explanation

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.

Share This Question

Challenge a friend or share with your study group.