Get time and ram used in PHP loading

<?php $time = microtime(true) - $_SERVER["REQUEST_TIME_FLOAT"]; echo "Process Time: ".number_format($time, 2)." seconds<br>"; echo "Memory used: ".number_format(memory_get_usage(true)/1048576, 2)."MB\n"; ?>

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.