memory_get_usage()
The memory_get_usage() function returns the amount of memory allocated to your PHP script. This is useful for monitoring and optimizing memory usage.