3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array(1,2,3); $b = &$a; foreach($a as $i => $v) { echo "$v\n"; unset($a[1]); } var_dump($a); var_dimp($b)

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)
5.6.150.0000.08318.08
5.6.140.0000.07318.11
5.6.130.0100.08018.12
5.6.120.0100.08321.09
5.6.110.0070.09320.98
5.6.100.0030.04320.97
5.6.90.0070.04021.02
5.6.80.0170.07320.40
5.5.300.0030.06018.02
5.5.290.0170.07018.02
5.5.280.0070.03720.90
5.5.270.0070.04020.89
5.5.260.0070.06020.72
5.5.250.0030.04320.61
5.5.240.4100.04020.27

preferences:
143.88 ms | 939 KiB | 8 Q