3v4l.org

run code in 300+ PHP versions simultaneously
<?php $z = array(); list($a $b $c) = array(1, 2, 3); list($z[], $z[], $z[]) = array(1, 2, 3); var_dump($a, $b, $c) var_dump($z);

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.20.0470.07320.22
7.0.10.0030.06320.23
7.0.00.0130.03320.18
5.6.170.0300.06720.47
5.6.160.0130.08720.43
5.6.150.0030.08318.15
5.6.140.0000.05318.14
5.6.130.0100.06318.23
5.6.120.0100.06321.05
5.6.110.0070.07720.96
5.6.100.0000.07720.99
5.6.90.0170.04320.97
5.6.80.0130.06720.52
5.5.310.0330.04320.27
5.5.300.0100.03318.08
5.5.290.0100.07717.96
5.5.280.0130.08020.77
5.5.270.0200.07320.76
5.5.260.0000.04720.76
5.5.250.0230.06720.64
5.5.240.0370.06320.16

preferences:
145.82 ms | 1394 KiB | 7 Q