3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array( '0'=> 0 ); for($i=0; $i<=255; $i++) { echo '<pre>'; var_dump($array) echo '</pre>'; $array['0']++; } ?>

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
7.0.00.0030.05720.25
5.6.160.0030.05318.22
5.6.150.0170.07018.17
5.6.140.0070.03718.14
5.6.130.0130.07318.23
5.6.120.0030.04320.89
5.6.110.0070.04020.89
5.6.100.0070.07720.98
5.6.90.0100.08721.03
5.6.80.0070.07720.50
5.5.300.0070.03718.05
5.5.290.0070.04017.99
5.5.280.0030.04020.65
5.5.270.0030.04720.76
5.5.260.0000.04320.77
5.5.250.0100.08320.57
5.5.240.3700.03720.19

preferences:
142.56 ms | 1394 KiB | 7 Q