[ create a new paste ] login | about

Link: http://codepad.org/0zvfhaAm    [ raw code | output | fork ]

PHP, pasted on Apr 8:
1
2
3
4
<?php
$start_memory = memory_get_usage();
$x = array_fill(0, 10000, 1);
echo memory_get_usage() - $start_memory;


Output:
1
505984


Create a new paste based on this one


Comments: