- Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.30
- Parse error: syntax error, unexpected '}' in /in/JP2bo on line 8
Process exited with code 255.
<?php
$a = array();
for ($i=0; $i<100000; $i++) $a[] = $i;
$a = implode(',', $a); // or $a = json_encode($a);
echo number_format(memory_get_usage(true)/1048576, 2)."\n";
}