3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x=0; echo $x++ + ++$x;

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.4.20.0130.00719.58
8.4.10.0090.00019.53
8.3.150.0090.00917.10
8.3.140.0080.00018.86
8.3.130.0080.00018.82
8.3.120.0030.00618.74
8.3.110.0040.00420.94
8.3.100.0090.00016.74
8.3.90.0080.00026.77
8.3.80.0050.00516.37
8.3.70.0090.01618.31
8.3.60.0110.01118.43
8.3.50.0120.00317.26
8.3.40.0090.00618.72
8.3.30.0140.00018.40
8.3.20.0000.00720.04
8.3.10.0000.00821.92
8.3.00.0030.00519.68
8.2.260.0140.00416.27
8.2.250.0080.00016.49
8.2.240.0030.01318.34
8.2.230.0030.00622.58
8.2.220.0070.00437.54
8.2.210.0110.00726.77
8.2.200.0080.00316.63
8.2.190.0140.00716.58
8.2.180.0120.00625.92
8.2.170.0070.00718.71
8.2.160.0060.00819.39
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0030.00526.16
8.2.120.0000.00819.36
8.2.110.0090.00020.46
8.2.100.0040.00818.04
8.2.90.0040.00418.96
8.2.80.0050.00317.97
8.2.70.0000.00817.63
8.2.60.0060.00317.50
8.2.50.0000.00817.55
8.2.40.0060.00317.63
8.2.30.0000.00718.02
8.2.20.0040.00418.08
8.2.10.0040.00418.04
8.2.00.0040.00417.96
8.1.310.0140.00318.15
8.1.300.0130.00418.05
8.1.290.0040.00418.88
8.1.280.0100.00325.92
8.1.270.0050.00323.90
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0060.00323.92
8.1.230.0040.00817.57
8.1.220.0050.00317.74
8.1.210.0000.00818.77
8.1.200.0050.00317.23
8.1.190.0030.00617.10
8.1.180.0040.00418.10
8.1.170.0060.00317.62
8.1.160.0000.00718.68
8.1.150.0040.00418.75
8.1.140.0040.00419.54
8.1.130.0020.00517.29
8.1.120.0050.00317.38
8.1.110.0000.00717.35
8.1.100.0080.00017.39
8.1.90.0030.00417.28
8.1.80.0000.00717.35
8.1.70.0030.00317.39
8.1.60.0000.00717.46
8.1.50.0000.00717.47
8.1.40.0000.00717.41
8.1.30.0060.00317.61
8.1.20.0000.00717.48
8.1.10.0000.00717.54
8.1.00.0000.00717.37
8.0.300.0050.00218.77
8.0.290.0000.00716.63
8.0.280.0040.00418.49
8.0.270.0000.00817.30
8.0.260.0030.00316.72
8.0.250.0000.00716.84
8.0.240.0050.00316.96
8.0.230.0070.00016.83
8.0.220.0040.00416.71
8.0.210.0000.00716.76
8.0.200.0030.00316.77
8.0.190.0040.00416.90
8.0.180.0000.00716.85
8.0.170.0040.00416.80
8.0.160.0080.00316.78
8.0.150.0070.00016.67
8.0.140.0050.00316.79
8.0.130.0060.00013.28
8.0.120.0000.00816.78
8.0.110.0000.00716.79
8.0.100.0000.00816.93
8.0.90.0000.00716.79
8.0.80.0090.00616.82
8.0.70.0070.00016.84
8.0.60.0040.00416.86
8.0.50.0050.00216.83
8.0.30.0110.01017.02
8.0.20.0100.01217.40
8.0.10.0040.00416.73
8.0.00.0090.00916.54
7.4.330.0000.00515.55
7.4.320.0030.00316.53
7.4.300.0060.00016.56
7.4.290.0040.00416.52
7.4.280.0000.00916.50
7.4.270.0030.00316.39
7.4.260.0040.00416.51
7.4.250.0000.00716.39
7.4.240.0030.00316.36
7.4.230.0040.00416.46
7.4.220.0070.01016.50
7.4.210.0080.00816.59
7.4.200.0040.00416.59
7.4.160.0080.00816.51
7.4.150.0140.00417.40
7.4.140.0120.00717.86
7.4.130.0060.01216.57
7.4.120.0110.00816.35
7.4.110.0160.00316.51
7.4.100.0130.00316.51
7.4.90.0150.00616.54
7.4.80.0070.01419.39
7.4.70.0100.00716.46
7.4.60.0060.01016.44
7.4.50.0120.00416.58
7.4.40.0100.00616.39
7.4.30.0080.00816.36
7.4.00.0060.01114.86
7.3.330.0030.00313.11
7.3.320.0030.00313.09
7.3.310.0000.00816.07
7.3.300.0000.00616.08
7.3.290.0070.01016.22
7.3.280.0080.01016.19
7.3.270.0100.00617.40
7.3.260.0080.00816.42
7.3.250.0120.00916.41
7.3.240.0140.00416.38
7.3.230.0030.01416.54
7.3.210.0080.00816.38
7.3.200.0040.01216.32
7.3.190.0090.01216.29
7.3.180.0160.00016.47
7.3.170.0120.00816.47
7.3.160.0060.01016.08
7.3.120.0050.01214.81
7.3.110.0070.00914.71
7.3.100.0100.00514.77
7.3.90.0060.00914.59
7.3.80.0030.01214.56
7.3.70.0090.00714.50
7.3.60.0090.00314.63
7.3.50.0080.00714.65
7.3.40.0090.00514.60
7.3.30.0050.01014.77
7.3.20.0050.00916.52
7.3.10.0080.00616.56
7.3.00.0080.00316.63
7.2.330.0090.00916.38
7.2.320.0120.00616.51
7.2.310.0200.00416.64
7.2.300.0060.01016.79
7.2.290.0080.01116.60
7.2.250.0090.00814.85
7.2.240.0090.00815.03
7.2.230.0020.01115.09
7.2.220.0070.00815.11
7.2.210.0060.01215.04
7.2.200.0080.00914.93
7.2.190.0090.00614.82
7.2.180.0050.00915.04
7.2.170.0080.00814.78
7.2.60.0120.00416.82
7.1.330.0050.00915.71
7.1.320.0050.00815.76
7.1.310.0080.00815.73
7.1.300.0030.01015.64
7.1.290.0050.00815.78
7.1.280.0040.00715.60
7.1.270.0070.00615.78
7.1.260.0040.01015.84
7.1.200.0080.00415.49
7.1.80.1400.01216.13
7.1.70.1340.01215.13
7.1.60.1420.01333.15
7.1.50.1460.01032.80
7.1.40.1560.01632.49
7.1.30.1500.01132.49
7.1.20.1200.01632.55
7.1.10.1310.00914.82
7.1.00.1260.00914.81
7.0.200.1260.01114.93
7.0.190.1480.01114.78
7.0.180.1250.01414.50
7.0.170.1560.01214.42
7.0.160.1220.00614.36
7.0.150.1440.01114.38
7.0.140.1300.01114.45
7.0.130.1290.00914.63
7.0.120.1300.01214.73
7.0.110.1440.01314.44
7.0.100.1400.01014.33
7.0.90.1270.01114.39
7.0.80.1370.01214.53
7.0.70.1500.00914.32
7.0.60.1410.01014.17
7.0.50.1270.01114.58
7.0.40.1180.01214.60
7.0.30.1270.00914.57
7.0.20.1490.01014.56
7.0.10.1260.00814.69
7.0.00.1360.00914.58
5.6.300.0110.07320.76
5.6.290.0100.07120.63
5.6.280.0120.06620.81
5.6.270.0110.07120.78
5.6.260.0150.06620.88
5.6.250.0160.06120.92
5.6.240.0170.06020.86
5.6.230.0180.07720.82
5.6.220.0140.08020.79
5.6.210.0140.06820.85
5.6.200.0120.07720.74
5.6.190.0160.06220.82
5.6.180.0140.07420.78
5.6.170.0120.06420.74
5.6.160.0160.06920.71
5.6.150.0100.08220.79
5.6.140.0170.07120.74
5.6.130.0230.05920.74
5.6.120.0150.07220.79
5.6.110.0210.07120.76
5.6.100.0170.08520.66
5.6.90.0140.06920.78
5.6.80.0230.06320.12
5.6.70.0080.07220.06
5.6.60.0200.06220.06
5.6.50.0160.05920.15
5.6.40.0140.07420.13
5.6.30.0130.07020.14
5.6.20.0120.06920.16
5.6.10.0130.06920.24
5.6.00.0080.07120.14
5.5.380.0110.07217.45
5.5.370.0050.08017.37
5.5.360.0130.06517.38
5.5.350.0140.06617.38
5.5.340.0130.06617.79
5.5.330.0170.06117.89
5.5.320.0150.06417.95
5.5.310.0140.06018.00
5.5.300.0190.06517.87
5.5.290.0110.07117.99
5.5.280.0200.07217.99
5.5.270.0160.07517.90
5.5.260.0100.08317.78
5.5.250.0080.07517.72
5.5.240.0160.05617.35
5.5.230.0190.06717.34
5.5.220.0160.06617.39
5.5.210.0100.06817.17
5.5.200.0110.06217.26
5.5.190.0140.05217.29
5.5.180.0190.06217.34
5.5.160.0110.06217.26
5.5.150.0140.06217.30
5.5.140.0070.06817.31
5.5.130.0120.06817.21
5.5.120.0190.06817.29
5.5.110.0190.06217.26
5.5.100.0120.05917.08
5.5.90.0160.06417.18
5.5.80.0200.05717.19
5.5.70.0070.06917.14
5.5.60.0070.05717.03
5.5.50.0070.06516.99
5.5.40.0160.05517.03
5.5.30.0090.07717.16
5.5.20.0070.06917.19
5.5.10.0200.06317.06
5.5.00.0200.06017.05
5.4.450.0180.06519.20
5.4.440.0120.06619.07
5.4.430.0180.07319.30
5.4.420.0170.06419.23
5.4.410.0120.06519.00
5.4.400.0170.06318.98
5.4.390.0140.06119.03
5.4.380.0180.06318.91
5.4.370.0190.05318.96
5.4.360.0140.06318.94
5.4.350.0120.06419.04
5.4.340.0130.06919.03
5.4.320.0130.06518.91
5.4.310.0190.05718.92
5.4.300.0100.06818.92
5.4.290.0110.07318.91
5.4.280.0100.07418.88
5.4.270.0090.07018.82
5.4.260.0100.06819.04
5.4.250.0110.07018.93
5.4.240.0110.06818.97
5.4.230.0160.06318.84
5.4.220.0100.06919.07
5.4.210.0050.06418.98
5.4.200.0210.06418.98
5.4.190.0100.07018.86
5.4.180.0190.06118.96
5.4.170.0200.05918.95
5.4.160.0100.06218.94
5.4.150.0150.06118.86
5.4.140.0120.05716.50
5.4.130.0140.06616.29
5.4.120.0090.06516.28
5.4.110.0140.07016.57
5.4.100.0100.05416.53
5.4.90.0080.07216.48
5.4.80.0170.06316.47
5.4.70.0070.06316.37
5.4.60.0120.05716.47
5.4.50.0140.06216.53
5.4.40.0130.06616.49
5.4.30.0130.04616.31
5.4.20.0070.06316.35
5.4.10.0120.05416.45
5.4.00.0060.06515.88
5.3.290.0100.07014.72
5.3.280.0090.06314.64
5.3.270.0110.06114.73
5.3.260.0130.05614.66
5.3.250.0150.04914.70
5.3.240.0140.07114.63
5.3.230.0190.06014.67
5.3.220.0130.07214.59
5.3.210.0130.06314.40
5.3.200.0150.06014.50
5.3.190.0080.06614.60
5.3.180.0100.06514.69
5.3.170.0080.06614.50
5.3.160.0110.06214.49
5.3.150.0230.05814.52
5.3.140.0130.05714.58
5.3.130.0130.05314.60
5.3.120.0140.06214.55
5.3.110.0110.06514.56
5.3.100.0120.06114.13
5.3.90.0080.06813.85
5.3.80.0080.06413.97
5.3.70.0090.06413.94
5.3.60.0060.07013.84
5.3.50.0130.05814.02
5.3.40.0090.06313.88
5.3.30.0160.05713.83
5.3.20.0150.06713.63
5.3.10.0120.05713.64
5.3.00.0120.05913.75
5.2.170.0120.04611.23
5.2.160.0050.05211.14
5.2.150.0130.04811.20
5.2.140.0080.06011.11
5.2.130.0110.05311.04
5.2.120.0040.05011.15
5.2.110.0100.04611.14
5.2.100.0110.04411.11
5.2.90.0070.04711.19
5.2.80.0100.05411.23
5.2.70.0090.05111.14
5.2.60.0090.05111.19
5.2.50.0080.05311.11
5.2.40.0130.04511.05
5.2.30.0070.05311.05
5.2.20.0050.05310.92
5.2.10.0070.04911.07
5.2.00.0110.05210.91
5.1.60.0080.03810.25
5.1.50.0120.04110.00
5.1.40.0090.04810.00
5.1.30.0090.05110.39
5.1.20.0050.04810.51
5.1.10.0060.04410.19
5.1.00.0120.04310.21
5.0.50.0050.0398.66
5.0.40.0060.0308.48
5.0.30.0020.0598.34
5.0.20.0030.0398.37
5.0.10.0080.0378.15
5.0.00.0140.0468.13
4.4.90.0080.0236.70
4.4.80.0060.0256.70
4.4.70.0020.0306.70
4.4.60.0090.0256.70
4.4.50.0030.0296.70
4.4.40.0060.0486.70
4.4.30.0080.0246.70
4.4.20.0050.0266.70
4.4.10.0020.0296.70
4.4.00.0060.0366.70
4.3.110.0090.0226.70
4.3.100.0020.0336.70
4.3.90.0060.0286.70
4.3.80.0180.0406.70
4.3.70.0050.0236.70
4.3.60.0040.0286.70
4.3.50.0020.0276.70
4.3.40.0030.0366.70
4.3.30.0030.0256.70
4.3.20.0050.0256.70
4.3.10.0070.0206.70
4.3.00.0030.0256.70

preferences:
83.83 ms | 406 KiB | 6 Q