memory()

Returns the current memory usage in a human-readable format

  • return (string)

Example

<?php echo memory() ?>