Seems to be some kind of testing leftover, but if you need to keep it here's a workaround:PHP manual wrote:memory_get_usage() is available only if PHP is compiled with the --enable-memory-limit configuration option, which is not the case on most Windows installations.
Code: Select all
Index: footer.php
===================================================================
--- footer.php (revision 3342)
+++ footer.php (working copy)
@@ -80,7 +80,7 @@
echo $htmlresult;
-var_dump(memory_get_usage());
+if( function_exists('memory_get_usage') ) var_dump(memory_get_usage());
# vim:ts=4 sw=4 noet
?>