Programming Languages
PHP
Objective
Sep 23, 2025
Which PHP function returns the current memory usage in bytes?
Detailed Explanation
Explanation: memory_get_usage() returns the current memory usage in bytes. Use memory_get_usage(true) to get real memory usage including system overhead. memory_get_peak_usage() returns the peak memory usage.
Discussion (0)
No comments yet. Be the first to share your thoughts!
Share Your Thoughts