/ Published in: PHP
In order to optimize your scripts, you may definitely want to know how many amount of RAM they use on your server. This snippet will check memory and then print initial, final and peak usages.
URL: http://net.tutsplus.com/tutorials/php/9-useful-php-functions-and-features-you-need-to-know/