Returns the amount of memory allocated to PHP

Returns the amount of memory allocated to PHP

The following function returns the amount of memory allocated to PHP

memory_get_usage

Returns the amount of memory, in bytes, that's currently being allocated to your PHP script.

blog tag: