Calculate and Display memory consumption of PHP codeigniter script

Developers can display the amount of memory used by the system by including the following line of code in your application:

<?php echo $this->benchmark- >memory_usage() ; ?>

The associated psuedo-variable is

{ memory_usage}

Enjoyed this post? Share it!

 

Leave a comment

Your email address will not be published.