main.php
1
2
3
4
5
$a = range(0, 100000);

echo memory_get_usage() / 1024;
PHP 7.0.8 (Legacy: use the following for new features: Command-line PHP: https://repl.it/languages/php_cli PHP Web Server: https://repl.it/languages/php7