3v4l.org

run code in 200+ PHP versions simultaneously
<?php class Foo { } $foos = array(); for ($i = 10000; $i--;) { $foo = new Foo; $foo->a = 1; $foos[] = $foo; }
based on fYvoi

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.0100.00919.32
7.3.120.0040.01519.17
7.3.110.0100.01319.34
7.3.100.0070.01119.38
7.3.90.0140.00718.96
7.3.80.0080.01318.93
7.3.70.0090.01119.09
7.3.60.0100.01118.96
7.3.50.0120.00719.15
7.3.40.0090.01419.12
7.3.30.0050.01519.06
7.3.20.0160.01219.93
7.3.10.0150.01219.62
7.3.00.0170.00819.91
7.2.250.0100.01419.54
7.2.240.0090.01619.63
7.2.230.0090.00919.68
7.2.220.0120.00319.48
7.2.210.0090.01119.41
7.2.200.0060.01119.56
7.2.190.0100.01119.55
7.2.180.0130.01119.64
7.2.170.0110.01419.54
7.2.160.0140.01119.52
7.2.150.0300.01519.39
7.2.140.0240.01019.69
7.2.130.0210.01219.70
7.2.120.0790.01419.41
7.2.110.0190.01019.15
7.2.100.0310.02019.54
7.2.90.1160.01319.35
7.2.80.0260.01119.36
7.2.70.0870.00919.48
7.2.60.0280.01419.94
7.2.50.0270.01219.62
7.2.40.1360.00819.50
7.2.30.0170.01019.58
7.2.20.0450.00919.29
7.2.10.0770.00519.32
7.2.00.0640.01320.67
7.1.330.0070.01019.72
7.1.320.0040.01119.81
7.1.310.0130.01118.87
7.1.300.0130.00818.92
7.1.290.0720.01019.16
7.1.280.0120.01319.13
7.1.270.0150.01318.70
7.1.260.0120.01619.16
7.1.250.0970.01018.04
7.1.240.0790.01018.16
7.1.230.1170.01118.21
7.1.220.0910.01318.08
7.1.210.1730.01518.19
7.1.200.1010.01218.67
7.1.190.0310.01318.20
7.1.180.0920.01118.13
7.1.170.1260.01018.10
7.1.160.0520.00918.11
7.1.150.0630.01118.18
7.1.140.0610.01018.04
7.1.130.1030.01017.98
7.1.120.1340.01718.19
7.1.110.1490.00918.05
7.1.100.0970.01319.30
7.1.90.1410.01518.22
7.1.80.0740.01518.20
7.1.70.0390.01219.08
7.1.60.0400.01119.20
7.1.50.0360.00819.24
7.1.40.0330.01119.08
7.1.30.0370.00719.02
7.1.20.0340.01019.06
7.1.10.0410.00618.98
7.1.00.0380.01118.96
7.0.330.0330.01317.90
7.0.320.0250.01217.99
7.0.310.1710.02217.84
7.0.300.0760.01217.85
7.0.290.0460.01218.07
7.0.280.0570.01217.85
7.0.270.0630.01017.88
7.0.260.0610.01017.79
7.0.250.1500.00718.15
7.0.240.0970.01317.93
7.0.230.1540.00718.20
7.0.220.2070.01617.99
7.0.210.0890.01818.04
7.0.200.0410.00718.98
7.0.190.0390.01019.00
7.0.180.0390.00519.00
7.0.170.1320.01018.90
7.0.160.0350.01118.79
7.0.150.0360.00918.85
7.0.140.0390.01218.90
7.0.130.0370.00818.96
7.0.120.1060.00618.90
7.0.110.0440.01118.82
7.0.100.0390.00418.84
7.0.90.0360.00818.71
7.0.80.0340.00818.92
7.0.70.0520.00918.88
7.0.60.0360.00918.65
7.0.50.0510.01218.89
7.0.40.0290.00917.18
7.0.30.0890.01317.15
7.0.20.0300.01217.17
7.0.10.0410.00817.10
7.0.00.0410.01017.22
5.6.400.0120.02920.10
5.6.390.0150.01920.38
5.6.380.0140.01820.13
5.6.370.0130.02120.19
5.6.360.0190.01620.11
5.6.350.0130.02220.00
5.6.340.0190.01619.99
5.6.330.0240.01520.12
5.6.320.0200.01720.16
5.6.310.0220.01320.34
5.6.300.0120.02822.21
5.6.290.0160.02522.12
5.6.280.0090.03222.21
5.6.270.0090.03422.34
5.6.260.0150.03722.46
5.6.250.0150.02422.29
5.6.240.0150.02622.35
5.6.230.0260.02122.33
5.6.220.0160.02822.27
5.6.210.0160.02322.29
5.6.200.0160.02922.40
5.6.190.0170.02222.38
5.6.180.0110.02922.22
5.6.170.0120.02722.43
5.6.160.0170.04022.41
5.6.150.0130.03422.32
5.6.140.0110.03222.33
5.6.130.0110.02922.32
5.6.120.0160.02422.33
5.6.110.0160.02622.35
5.6.100.0120.03122.28
5.6.90.0090.03222.18
5.6.80.0130.02421.99
5.6.70.0150.02422.17
5.6.60.0140.02521.93
5.6.50.0120.03022.04
5.6.40.0150.02622.05
5.6.30.0110.02822.00
5.6.20.0120.02722.10
5.6.10.0130.02922.05
5.6.00.0130.02821.95
5.5.380.0130.02520.09
5.5.370.0090.02820.09
5.5.360.0150.02520.13
5.5.350.0120.02920.06
5.5.340.0120.02820.13
5.5.330.0080.03020.31
5.5.320.0170.02220.26
5.5.310.0120.02820.15
5.5.300.0160.02220.30
5.5.290.0160.03020.18
5.5.280.0120.02620.34
5.5.270.0100.03120.21
5.5.260.0110.02620.19
5.5.250.0140.02620.14
5.5.240.0110.02919.95
5.5.230.0070.03019.81
5.5.220.0140.02119.91
5.5.210.0110.02920.13
5.5.200.0080.03019.96
5.5.190.0130.02519.98
5.5.180.0170.02419.88
5.5.170.0200.01519.73
5.5.160.0100.02519.89
5.5.150.0100.03020.02
5.5.140.0060.02819.96
5.5.130.0170.02520.08
5.5.120.0170.02219.95
5.5.110.0150.02419.75
5.5.100.0140.02419.90
5.5.90.0150.02219.86
5.5.80.0110.02419.80
5.5.70.0140.02519.84
5.5.60.0150.02019.89
5.5.50.0130.02220.04
5.5.40.0100.02819.93
5.5.30.0100.02919.76
5.5.20.0170.02419.86
5.5.10.0140.01919.99
5.5.00.0150.02419.95
5.4.450.0090.02819.65
5.4.440.0150.02019.60
5.4.430.0060.03319.57
5.4.420.0140.02419.51
5.4.410.0150.02119.64
5.4.400.0120.02219.27
5.4.390.0110.02519.52
5.4.380.0100.02919.46
5.4.370.0150.02119.48
5.4.360.0160.02219.43
5.4.350.0130.02419.36
5.4.340.0080.02919.36
5.4.330.0230.00416.76
5.4.320.0090.02319.44
5.4.310.0120.02519.29
5.4.300.0120.02319.37
5.4.290.0140.02319.37
5.4.280.0130.02119.42
5.4.270.0130.02119.40
5.4.260.0100.02619.44
5.4.250.0050.02619.37
5.4.240.0090.02919.22
5.4.230.0100.02719.39
5.4.220.0160.02219.29
5.4.210.0090.02619.38
5.4.200.0110.02819.46
5.4.190.0110.02119.30
5.4.180.0110.02319.45
5.4.170.0080.02719.46
5.4.160.0110.02319.45
5.4.150.0080.02919.30
5.4.140.0090.02618.42
5.4.130.0140.02218.48
5.4.120.0160.01718.66
5.4.110.0030.02918.51
5.4.100.0080.02318.62
5.4.90.0150.01818.51
5.4.80.0110.02218.69
5.4.70.0110.02718.55
5.4.60.0060.02918.62
5.4.50.0120.02218.61
5.4.40.0080.02818.70
5.4.30.0130.02518.71
5.4.20.0120.02018.57
5.4.10.0130.02018.58
5.4.00.0080.02718.40
5.3.290.0100.02517.42
5.3.280.0140.02217.40
5.3.270.0110.02117.29
5.3.260.0100.02317.44
5.3.250.0160.02317.31
5.3.240.0060.02617.46
5.3.230.0100.02417.43
5.3.220.0090.02517.40
5.3.210.0030.03217.35
5.3.200.0060.02717.27
5.3.190.0100.02517.38
5.3.180.0110.02417.41
5.3.170.0080.03217.44
5.3.160.0120.02317.44
5.3.150.0120.02617.47
5.3.140.0130.02517.41
5.3.130.0140.01917.46
5.3.120.0090.02917.44
5.3.110.0100.02917.45
5.3.100.0120.02017.16
5.3.90.0070.02717.22
5.3.80.0110.02317.07
5.3.70.0100.02517.13
5.3.60.0170.02117.15
5.3.50.0220.01816.97
5.3.40.0100.02217.03
5.3.30.0120.02517.08
5.3.20.0080.02416.91
5.3.10.0120.02216.83
5.3.00.0110.02116.73
5.2.170.0090.02414.73
5.2.160.0060.02414.80
5.2.150.0060.02214.76
5.2.140.0100.01814.77
5.2.130.0080.02014.63
5.2.120.0090.02114.78
5.2.110.0070.02914.75
5.2.100.0080.02114.78
5.2.90.0110.01914.64
5.2.80.0090.02014.67
5.2.70.0090.02014.60
5.2.60.0110.01914.61
5.2.50.0080.02114.62
5.2.40.0090.02514.70
5.2.30.0090.02414.71
5.2.20.0070.02414.76
5.2.10.0060.02514.46
5.2.00.0050.02214.31
5.1.60.0110.01815.34
5.1.50.0120.01915.22
5.1.40.0100.01815.23
5.1.30.0130.01615.49
5.1.20.0140.01815.49
5.1.10.0120.01915.29
5.1.00.0090.01815.21
5.0.50.0110.01914.29
5.0.40.0070.02114.14
5.0.30.0040.02414.15
5.0.20.0080.01714.13
5.0.10.0090.01714.06
5.0.00.0060.03013.94
4.4.90.0060.01812.90
4.4.80.0040.02512.90
4.4.70.0060.01612.90
4.4.60.0080.01512.90
4.4.50.0100.01312.90
4.4.40.0050.02112.90
4.4.30.0070.01612.90
4.4.20.0070.01912.90
4.4.10.0100.01512.90
4.4.00.0040.01912.90
4.3.110.0060.01712.90
4.3.100.0060.01812.90
4.3.90.0090.01312.90
4.3.80.0070.01812.90
4.3.70.0060.01512.90
4.3.60.0080.01712.90
4.3.50.0060.01712.90
4.3.40.0080.01812.90
4.3.30.0090.01412.90
4.3.20.0040.02012.90
4.3.10.0060.01812.90
4.3.00.0070.01512.90