3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array(); $a += null; $b = null; $b += array(); $c = null; $c += null;

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)
8.3.60.0090.00916.75
8.3.50.0140.00018.17
8.3.40.0090.00618.75
8.3.30.0110.00419.02
8.3.20.0050.00220.25
8.3.10.0080.00023.38
8.3.00.0080.00019.91
8.2.180.0060.01516.63
8.2.170.0070.01022.96
8.2.160.0070.01020.43
8.2.150.0080.00024.18
8.2.140.0050.00324.66
8.2.130.0040.00419.24
8.2.120.0040.00426.35
8.2.110.0120.00622.24
8.2.100.0110.00017.93
8.2.90.0050.00319.28
8.2.80.0060.00317.97
8.2.70.0040.00417.50
8.2.60.0000.00817.79
8.2.50.0060.00318.07
8.2.40.0040.00422.15
8.2.30.0070.00020.53
8.2.20.0000.00817.74
8.2.10.0060.00318.04
8.2.00.0000.00717.93
8.1.280.0040.01125.92
8.1.270.0030.00520.25
8.1.260.0080.00028.09
8.1.250.0040.00428.09
8.1.240.0040.00423.98
8.1.230.0080.00317.83
8.1.220.0040.00417.78
8.1.210.0030.00518.77
8.1.200.0000.00917.13
8.1.190.0040.00417.23
8.1.180.0080.00018.10
8.1.170.0040.00418.59
8.1.160.0040.00420.64
8.1.150.0050.00218.84
8.1.140.0030.00519.57
8.1.130.0050.00217.67
8.1.120.0030.00317.39
8.1.110.0040.00417.30
8.1.100.0070.00017.29
8.1.90.0030.00517.43
8.1.80.0000.00717.36
8.1.70.0040.00417.29
8.1.60.0000.00817.42
8.1.50.0050.00317.45
8.1.40.0050.00317.48
8.1.30.0080.00017.49
8.1.20.0070.00017.67
8.1.10.0000.00817.51
8.1.00.0070.00017.42
8.0.300.0050.00318.77
8.0.290.0000.00816.72
8.0.280.0000.00718.28
8.0.270.0000.00717.07
8.0.260.0000.00617.10
8.0.250.0030.00316.98
8.0.240.0000.00816.82
8.0.230.0060.00316.94
8.0.220.0040.00416.90
8.0.210.0000.00816.77
8.0.200.0000.00616.78
8.0.190.0000.01016.95
8.0.180.0000.00816.84
8.0.170.0000.00816.84
8.0.160.0080.00016.86
8.0.150.0040.00416.89
8.0.140.0000.00716.87
8.0.130.0000.00513.30
8.0.120.0080.00016.89
8.0.110.0000.00716.90
8.0.100.0070.00016.74
8.0.90.0040.00416.76
8.0.80.0130.00316.89
8.0.70.0040.00416.80
8.0.60.0040.00416.85
8.0.50.0070.00016.77
8.0.30.0090.01217.06
8.0.20.0110.00917.40
8.0.10.0000.00716.88
8.0.00.0090.01016.79
7.4.330.0050.00016.70
7.4.320.0030.00316.48
7.4.300.0060.00016.53
7.4.290.0000.00716.40
7.4.280.0000.00716.59
7.4.270.0040.00416.61
7.4.260.0030.00316.57
7.4.250.0040.00416.43
7.4.240.0050.00216.63
7.4.230.0030.00316.39
7.4.220.0100.01416.39
7.4.210.0090.00616.48
7.4.200.0070.00016.52
7.4.160.0040.01216.68
7.4.150.0060.01217.40
7.4.140.0150.00317.86
7.4.130.0150.00316.48
7.4.120.0070.01516.46
7.4.110.0060.01016.72
7.4.100.0120.00616.53
7.4.90.0060.01216.46
7.4.80.0070.01019.39
7.4.70.0000.01616.59
7.4.60.0030.01316.68
7.4.50.0090.00316.32
7.4.40.0110.00516.64
7.4.30.0120.00616.50
7.4.00.0060.00815.05
7.3.330.0000.00513.10
7.3.320.0000.00513.10
7.3.310.0000.00716.21
7.3.300.0030.00316.28
7.3.290.0040.01116.22
7.3.280.0070.01116.27
7.3.270.0120.00917.40
7.3.260.0120.01216.42
7.3.250.0080.00916.32
7.3.240.0070.01216.33
7.3.230.0070.01116.41
7.3.210.0170.00016.28
7.3.200.0140.00316.48
7.3.190.0110.01016.20
7.3.180.0030.01216.17
7.3.170.0030.01416.27
7.3.160.0110.00616.29
7.3.120.0130.00714.88
7.3.110.0000.01415.00
7.3.100.0070.00714.79
7.3.90.0040.00814.74
7.3.80.0000.01514.82
7.3.70.0070.00714.62
7.3.60.0000.00814.86
7.3.50.0160.00014.65
7.3.40.0030.01014.56
7.3.30.0030.01314.41
7.3.20.0060.00916.70
7.3.10.0090.00616.80
7.3.00.0090.00316.46
7.2.330.0090.00916.62
7.2.320.0120.00616.53
7.2.310.0150.00716.43
7.2.300.0030.01916.46
7.2.290.0030.01316.30
7.2.240.0030.01014.85
7.2.230.0040.01114.93
7.2.220.0090.00614.64
7.2.210.0030.01315.07
7.2.200.0070.00714.68
7.2.190.0000.00914.82
7.2.180.0110.00314.86
7.2.170.0030.00814.82
7.2.160.0060.01014.94
7.2.150.0030.01016.80
7.2.140.0000.01216.62
7.2.130.0000.01316.64
7.2.120.0090.00616.75
7.2.110.0030.01016.63
7.2.100.0070.01016.75
7.2.90.0040.01216.89
7.2.80.0030.01616.51
7.2.70.0090.00916.68
7.2.60.0110.00316.69
7.2.50.0040.01416.78
7.2.40.0000.01616.60
7.2.30.0060.01016.96
7.2.20.0100.00316.79
7.2.10.0100.00716.91
7.2.00.0080.00617.97
7.1.330.0110.00715.49
7.1.320.0120.00315.87
7.1.310.0040.00815.65
7.1.300.0030.01015.38
7.1.290.0000.01415.84
7.1.280.0060.00915.66
7.1.270.0040.01115.75
7.1.260.0150.00315.72
7.1.250.0060.00615.52
7.1.200.0200.01115.48
7.1.100.0030.01018.04
7.1.70.0030.01317.21
7.1.60.0090.01519.44
7.1.50.0070.01516.90
7.1.00.0100.07022.43
7.0.200.0000.00716.77
7.0.60.0100.08020.02
7.0.50.0070.05017.80
7.0.40.0170.05720.14
7.0.30.0270.03720.16
7.0.20.0170.04020.06
7.0.10.0100.08320.13
7.0.00.0130.07720.30
5.6.280.0030.06721.07
5.6.210.0000.04320.47
5.6.200.0070.08318.09
5.6.190.0030.06020.35
5.6.180.0130.05020.69
5.6.170.0400.06720.61
5.6.160.0070.03720.34
5.6.150.0070.07718.15
5.6.140.0030.07018.12
5.6.130.0070.04018.21
5.6.120.0100.06720.89
5.6.110.0000.04321.07
5.6.100.0000.04321.13
5.6.90.0030.08020.96
5.6.80.0100.07720.50
5.5.350.0070.03720.43
5.5.340.0070.08317.91
5.5.330.0100.04720.37
5.5.320.0500.06320.30
5.5.310.0270.07020.26
5.5.300.0100.07718.00
5.5.290.0030.04017.90
5.5.280.0070.06720.76
5.5.270.0030.05320.86
5.5.260.0100.08720.86
5.5.250.0030.04020.58
5.5.240.3970.04720.22

preferences:
51.34 ms | 400 KiB | 5 Q