<?php $usage[]=memory_get_usage(); $massiv = array_fill(0, 30*1024*1024, 0x55); $usage[]=memory_get_usage(); unset($massiv); $usage[]=memory_get_usage(); var_export($usage);
Standard input is empty
array ( 0 => 387320, 1 => 1074133696, 2 => 387696, )
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!