3v4l.org

run code in 200+ PHP versions simultaneously
<?php list($a, $b) = NULL; var_dump($a, $b); list($c, $d) = array(); var_dump($c, $d); list($e, $f) = array('a'); var_dump($e, $f);

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.4.00.0030.00915.05
7.3.120.0030.00914.75
7.3.10.0060.00916.52
7.3.00.0120.00316.46
7.2.130.0030.01016.41
7.2.120.0000.01216.66
7.2.110.0050.00516.45
7.2.100.0070.00716.71
7.2.90.0080.00316.60
7.2.80.0060.00316.61
7.2.70.0120.00416.43
7.2.60.0090.00616.86
7.2.50.0000.00816.58
7.2.40.0050.00516.88
7.2.30.0070.00716.65
7.2.20.0000.01416.82
7.2.10.0060.00616.78
7.2.00.0020.01118.05
7.1.250.0030.01015.80
7.1.200.0190.00815.83
7.1.70.0070.00317.11
7.1.60.0070.00416.98
7.1.50.0100.01316.95
7.1.00.0030.07722.30
7.0.200.0070.00716.53
7.0.140.0030.07321.99
7.0.80.0700.07319.92
7.0.70.0530.05719.95
7.0.60.0530.05019.78
7.0.50.0500.06720.23
7.0.40.0170.07020.09
7.0.30.0100.06720.14
7.0.20.0000.05019.94
7.0.10.0130.05320.14
7.0.00.0130.04720.16
5.6.280.0030.07321.04
5.6.230.0030.06720.66
5.6.220.0170.07020.67
5.6.210.0070.08320.77
5.6.200.0100.08321.08
5.6.190.0000.08720.96
5.6.180.0070.08321.03
5.6.170.0030.05321.04
5.6.160.0100.07021.02
5.6.150.0070.05021.10
5.6.140.0100.08321.03
5.6.130.0200.07021.00
5.6.120.0100.06721.02
5.6.110.0000.08020.96
5.6.100.0070.05721.02
5.6.90.0100.05021.05
5.6.80.0030.08020.33
5.6.70.0130.07320.48
5.6.60.0000.08720.40
5.6.50.0030.08320.31
5.6.40.0170.07020.30
5.6.30.0070.08020.35
5.6.20.0070.07720.43
5.6.10.0070.08020.52
5.6.00.0200.06720.34
5.5.370.0000.06320.49
5.5.360.0230.04020.44
5.5.350.0030.08720.45
5.5.340.0070.04320.77
5.5.330.0130.08020.89
5.5.320.0070.07020.86
5.5.310.0030.07020.88
5.5.300.0030.08720.89
5.5.290.0100.05320.74
5.5.280.0100.06720.80
5.5.270.0000.05320.84
5.5.260.0130.07320.84
5.5.250.0170.06720.60
5.5.240.0130.05720.21
5.5.230.0100.04720.02
5.5.220.0100.08320.28
5.5.210.0070.04720.25
5.5.200.0170.07020.26
5.5.190.0030.05020.17
5.5.180.0100.03720.24
5.5.160.0030.08020.23
5.5.150.0230.05720.17
5.5.140.0100.08020.18
5.5.130.0100.05320.17
5.5.120.0130.07320.11
5.5.110.0030.05320.23
5.5.100.0030.04720.07
5.5.90.0100.08020.14
5.5.80.0130.07720.09
5.5.70.0170.07320.02
5.5.60.0070.08020.07
5.5.50.0200.06720.05
5.5.40.0030.04320.04
5.5.30.0070.04720.07
5.5.20.0100.07720.05
5.5.10.0170.07020.13
5.5.00.0100.07720.03
5.4.450.0100.08019.39
5.4.440.0070.08719.55
5.4.430.0070.04019.27
5.4.420.0030.04019.44
5.4.410.0000.08319.16
5.4.400.0130.05019.05
5.4.390.0000.05319.02
5.4.380.0100.07019.12
5.4.370.0070.04018.96
5.4.360.0100.04319.06
5.4.350.0030.06018.90
5.4.340.0100.06719.06
5.4.320.0100.06019.07
5.4.310.0200.03019.12
5.4.300.0100.07719.03
5.4.290.0130.07018.80
5.4.280.0130.07019.11
5.4.270.0130.06719.09
5.4.260.0070.05019.07
5.4.250.0100.05718.96
5.4.240.0070.08019.11
5.4.230.0100.07318.97
5.4.220.0000.05319.09
5.4.210.0070.06718.95
5.4.200.0070.03719.02
5.4.190.0070.07318.89
5.4.180.0130.07018.89
5.4.170.0070.06718.80
5.4.160.0100.04019.10
5.4.150.0100.07319.05
5.4.140.0070.06316.41
5.4.130.0070.04716.27
5.4.120.0070.05016.11
5.4.110.0070.06316.36
5.4.100.0070.04316.38
5.4.90.0070.06316.22
5.4.80.0070.07316.36
5.4.70.0070.04016.43
5.4.60.0200.03016.23
5.4.50.0070.07316.33
5.4.40.0070.03716.36
5.4.30.0070.03316.38
5.4.20.0000.06316.19
5.4.10.0000.05716.19
5.4.00.0130.03315.71
5.3.290.0030.05314.50
5.3.280.0000.06014.57
5.3.270.0100.07014.61
5.3.260.0070.07014.49
5.3.250.0070.07014.58
5.3.240.0100.06714.56
5.3.230.0030.05314.59
5.3.220.0100.03714.52
5.3.210.0030.04314.53
5.3.200.0100.04014.43
5.3.190.0070.06714.58
5.3.180.0070.04014.56
5.3.170.0070.04714.41
5.3.160.0130.07014.40
5.3.150.0000.04014.52
5.3.140.0000.05314.56
5.3.130.0030.04014.46
5.3.120.0070.07314.40
5.3.110.0130.08014.41
5.3.100.0030.07714.03
5.3.90.0000.04313.97
5.3.80.0030.03713.87
5.3.70.0070.04013.87
5.3.60.0070.07013.99
5.3.50.0070.07013.95
5.3.40.0030.07013.91
5.3.30.0100.07013.90
5.3.20.0130.04713.69
5.3.10.0130.06013.61
5.3.00.0030.06713.64
5.2.170.0170.05012.28
5.2.160.0000.06712.28
5.2.150.0070.05712.28
5.2.140.0070.05012.28
5.2.130.0100.05712.28
5.2.120.0030.03712.28
5.2.110.0070.03012.28
5.2.100.0000.05712.28
5.2.90.0030.04712.28
5.2.80.0100.04712.28
5.2.70.0030.05312.28
5.2.60.0030.06012.28
5.2.50.0070.03712.28
5.2.40.0070.03712.28
5.2.30.0070.04712.28
5.2.20.0000.03712.28
5.2.10.0070.05312.28
5.2.00.0030.03012.28
5.1.60.0100.04312.28
5.1.50.0100.02312.28
5.1.40.0030.05312.28
5.1.30.0000.06012.28
5.1.20.0030.05712.28
5.1.10.0070.02712.28
5.1.00.0070.04712.28
5.0.50.0200.02012.28
5.0.40.0070.04012.28
5.0.30.0070.06012.28
5.0.20.0070.04012.28
5.0.10.0000.04712.28
5.0.00.0030.03012.28
4.4.90.0070.03012.28
4.4.80.0000.03312.28
4.4.70.0030.01312.28
4.4.60.0000.01712.28
4.4.50.0070.01312.28
4.4.40.0030.05312.28
4.4.30.0030.01712.28
4.4.20.0030.03712.28
4.4.10.0000.03312.28
4.4.00.0030.05012.28
4.3.110.0070.02712.28
4.3.100.0030.02312.28
4.3.90.0000.02712.28
4.3.80.0000.05312.28
4.3.70.0070.02012.28
4.3.60.0030.03312.28
4.3.50.0100.03012.28
4.3.40.0000.05012.28
4.3.30.0030.03312.28
4.3.20.0000.03012.28
4.3.10.0000.02712.28
4.3.00.0070.02012.28