This snippet will output the PHP info for your hosting environment. You would want to add this to a php file like php-info.php and put it in your root folder of the site. This will show all sorts of stuff related to your php including the set memory limit.