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.0370.07720.19
7.0.10.0100.05320.26
7.0.00.0070.04020.23
5.6.170.0230.04720.62
5.6.160.0070.05320.50
5.6.150.0070.08318.25
5.6.140.0200.06718.19
5.6.130.0070.04718.16
5.6.120.0170.07320.97
5.6.110.0100.06320.98
5.6.100.0030.05320.95
5.6.90.0070.08721.13
5.6.80.0030.05320.39
5.5.310.0300.07720.35
5.5.300.0100.08017.95
5.5.290.0070.07718.09
5.5.280.0100.08020.77
5.5.270.0100.08020.89
5.5.260.0100.03720.84
5.5.250.0100.07720.70
5.5.240.0200.08320.12

preferences:
141.74 ms | 1394 KiB | 7 Q