<?php$a = range(0, 10000);$b = $a;echo memory_get_usage(true) , "\n";reset($b);echo memory_get_usage(true);
Standard input is empty
1048576 1310720
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!