3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $total = array(); for ($i=0; $i<1000000; $i++) { $total[] = $i; } //var_dump($total);
Output for 4.3.0 - 5.0.5, 5.1.1 - 5.2.0, 7.0.0 - 7.1.0
Output for 5.5.0 - 5.6.28
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 32 bytes) in /in/ffcWL on line 5
Process exited with code 255.
Output for 5.3.0 - 5.4.45
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 32 bytes) in /in/ffcWL on line 5
Process exited with code 255.
Output for 5.2.3 - 5.2.17
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 71 bytes) in /in/ffcWL on line 6
Process exited with code 255.
Output for 5.2.2
<br /> <b>Fatal error</b>: Allowed memory size of 134217728 bytes exhausted (tried to allocate 24 bytes) in <b>/in/ffcWL</b> on line <b>5</b><br />
Process exited with code 255.
Output for 5.2.1
<br /> <b>Fatal error</b>: Allowed memory size of 134217728 bytes exhausted (tried to allocate 71 bytes) in <b>/in/ffcWL</b> on line <b>6</b><br />
Process exited with code 255.
Output for 5.1.0
<br /> <b>Fatal error</b>: fatal flex scanner internal error--end of buffer missed in <b>/in/ffcWL</b> on line <b>8</b><br />
Process exited with code 255.