3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php <?php $vars = array(); $var = 'abc'; for($i = 0; $i< 10000; $i++){ $vars[] = $var; } echo round(memory_usage()/1024, 2), 'KB';
Output for 5.3.0 - 5.3.24, 5.4.0 - 5.4.15
Parse error: syntax error, unexpected '<' in /in/5d9iA on line 3
Process exited with code 255.
Output for 5.3.25
Parse error: syntax error, unexpected '<' in /in/9X9Xg on line 3
Process exited with code 255.