3v4l.org

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

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.10.0040.00417.34
8.3.140.0060.01019.06
8.3.130.0150.00316.46
8.3.120.0060.01220.67
8.3.110.0130.00320.94
8.3.100.0080.00024.06
8.3.90.0030.00526.77
8.3.80.0060.00316.63
8.3.70.0140.00716.75
8.3.60.0140.00316.38
8.3.50.0240.00822.05
8.3.40.0080.00618.46
8.3.30.0100.00318.86
8.3.20.0040.00420.04
8.3.10.0030.00523.48
8.3.00.0040.00420.73
8.2.250.0100.00718.28
8.2.240.0090.00916.92
8.2.230.0150.00422.58
8.2.220.0080.00037.54
8.2.210.0040.00426.77
8.2.200.0030.00618.16
8.2.190.0060.00918.28
8.2.180.0110.00418.29
8.2.170.0130.00618.96
8.2.160.0100.00722.96
8.2.150.0110.00625.66
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0040.00421.18
8.2.110.0180.00420.30
8.2.100.0090.00317.78
8.2.90.0080.00018.34
8.2.80.0040.00417.97
8.2.70.0040.00417.80
8.2.60.0000.00917.93
8.2.50.0080.00418.07
8.2.40.0040.00419.50
8.2.30.0000.00717.97
8.2.20.0040.00417.65
8.2.10.0040.00419.41
8.2.00.0000.00717.48
8.1.300.0090.00618.42
8.1.290.0090.00030.84
8.1.280.0120.00925.92
8.1.270.0000.00722.19
8.1.260.0090.00026.35
8.1.250.0020.00528.09
8.1.240.0110.00022.00
8.1.230.0120.00023.74
8.1.220.0080.00017.79
8.1.210.0070.00018.90
8.1.200.0050.00317.23
8.1.190.0090.00017.23
8.1.180.0000.00818.10
8.1.170.0030.00518.56
8.1.160.0060.00322.05
8.1.150.0040.00418.52
8.1.140.0030.00517.38
8.1.130.0050.00317.81
8.1.120.0040.00417.41
8.1.110.0030.00517.39
8.1.100.0040.00417.40
8.1.90.0060.00317.39
8.1.80.0000.00817.38
8.1.70.0000.00717.35
8.1.60.0070.00017.41
8.1.50.0040.00417.39
8.1.40.0050.00317.35
8.1.30.0040.00417.52
8.1.20.0030.00517.57
8.1.10.0000.00717.52
8.1.00.0070.00017.43
8.0.300.0000.00719.90
8.0.290.0070.00016.63
8.0.280.0040.00418.42
8.0.270.0000.00717.16
8.0.260.0000.00816.76
8.0.250.0070.00016.86
8.0.240.0030.00716.92
8.0.230.0040.00416.88
8.0.220.0030.00316.70
8.0.210.0030.00316.70
8.0.200.0030.00316.92
8.0.190.0000.00816.90
8.0.180.0080.00016.84
8.0.170.0000.00716.74
8.0.160.0080.00016.79
8.0.150.0000.00816.80
8.0.140.0000.00716.79
8.0.130.0000.00513.29
8.0.120.0000.00916.83
8.0.110.0000.00816.86
8.0.100.0050.00216.93
8.0.90.0000.00816.81
8.0.80.0060.00916.80
8.0.70.0000.00716.81
8.0.60.0000.00716.77
8.0.50.0050.00316.77
8.0.30.0080.01317.10
8.0.20.0060.01217.40
8.0.10.0000.00716.92
8.0.00.0070.01016.81
7.4.330.0020.00215.04
7.4.320.0030.00316.46
7.4.300.0030.00316.43
7.4.290.0000.00716.50
7.4.280.0000.00816.50
7.4.270.0000.00716.44
7.4.260.0070.00016.46
7.4.250.0030.00316.50
7.4.240.0040.00316.49
7.4.230.0000.00716.60
7.4.220.0070.01016.43
7.4.210.0120.00616.48
7.4.200.0030.00316.55
7.4.190.0070.00016.51
7.4.160.0110.00616.53
7.4.150.0110.00617.40
7.4.140.0100.01017.86
7.4.130.0090.00816.46
7.4.120.0100.00816.48
7.4.110.0060.01716.44
7.4.100.0120.01116.34
7.4.90.0150.00316.39
7.4.80.0090.00816.52
7.4.70.0090.00916.43
7.4.60.0070.01016.30
7.4.50.0000.00816.41
7.4.40.0080.00422.77
7.4.30.0060.01016.60
7.4.10.0100.01014.84
7.4.00.0130.00314.80
7.3.330.0020.00213.09
7.3.320.0000.00613.09
7.3.310.0030.00316.19
7.3.300.0000.00616.29
7.3.290.0030.01216.23
7.3.280.0090.00916.25
7.3.270.0100.00717.40
7.3.260.0030.01516.56
7.3.250.0120.00516.24
7.3.240.0080.00816.20
7.3.230.0090.00916.42
7.3.210.0070.01716.45
7.3.200.0110.00819.39
7.3.190.0120.00916.63
7.3.180.0090.00616.47
7.3.170.0120.01016.38
7.3.160.0100.01016.37
7.3.130.0070.01314.79
7.3.120.0100.00714.82
7.3.110.0100.00714.75
7.3.100.0030.01014.91
7.3.90.0060.00914.94
7.3.80.0060.00614.71
7.3.70.0100.00314.94
7.3.60.0060.01014.90
7.3.50.0040.00414.46
7.3.40.0030.01014.93
7.3.30.0090.00414.57
7.3.20.0080.00416.73
7.3.10.0060.00616.43
7.3.00.0000.01316.57
7.2.330.0090.00916.66
7.2.320.0060.01716.62
7.2.310.0030.01316.77
7.2.300.0100.00616.49
7.2.290.0110.00516.42
7.2.260.0110.00714.96
7.2.250.0070.01314.92
7.2.240.0100.00314.88
7.2.230.0080.00814.97
7.2.220.0140.00314.91
7.2.210.0070.00315.17
7.2.200.0100.00314.83
7.2.190.0030.00714.99
7.2.180.0040.00714.91
7.2.170.0000.01315.18
7.2.160.0040.01114.93
7.2.150.0100.00016.77
7.2.140.0090.00616.60
7.2.130.0030.01317.00
7.2.120.0080.00416.77
7.2.110.0110.00317.05
7.2.100.0110.00417.00
7.2.90.0060.01016.86
7.2.80.0070.00716.83
7.2.70.0120.00816.71
7.2.60.0060.01116.77
7.2.50.0030.01416.82
7.2.40.0060.00316.90
7.2.30.0070.00716.95
7.2.20.0050.00516.98
7.2.10.0080.00816.89
7.2.00.0030.01116.84
7.1.330.0070.00715.76
7.1.320.0030.00715.64
7.1.310.0140.00015.75
7.1.300.0070.01015.86
7.1.290.0040.00715.57
7.1.280.0050.00515.69
7.1.270.0030.01415.70
7.1.260.0050.00315.50
7.1.250.0100.00315.61
7.1.240.0080.00415.61
7.1.230.0100.00715.49
7.1.220.0140.00015.93
7.1.210.0070.00715.66
7.1.200.0050.00515.75
7.1.190.0080.00515.60
7.1.180.0000.00815.68
7.1.170.0060.00615.79
7.1.160.0060.00615.65
7.1.150.0090.00315.61
7.1.140.0000.01015.65
7.1.130.0030.00915.49
7.1.120.0030.00615.69
7.1.110.0040.01115.45
7.1.100.0060.00815.72
7.1.90.0030.01015.50
7.1.80.0040.00815.54
7.1.70.0020.01216.52
7.1.60.0100.00717.41
7.1.50.0100.00316.29
7.1.40.0040.00715.40
7.1.30.0030.00715.43
7.1.20.0080.00415.57
7.1.10.0070.00715.57
7.1.00.0030.04318.94
7.0.330.0000.01615.37
7.0.320.0030.00615.41
7.0.310.0060.00315.19
7.0.300.0030.01015.16
7.0.290.0030.00915.33
7.0.280.0070.00715.13
7.0.270.0030.00615.45
7.0.260.0060.00315.34
7.0.250.0060.00915.41
7.0.240.0030.01015.37
7.0.230.0040.00415.35
7.0.220.0040.00715.30
7.0.210.0030.01015.26
7.0.200.0110.00315.93
7.0.190.0060.00315.24
7.0.180.0000.00915.47
7.0.170.0040.01115.21
7.0.160.0040.01115.36
7.0.150.0070.01015.16
7.0.140.0090.03718.77
7.0.130.0000.01115.28
7.0.120.0000.01315.38
7.0.110.0070.00715.37
7.0.100.0200.04317.60
7.0.90.0280.04217.83
7.0.80.0270.04017.78
7.0.70.0270.03217.61
7.0.60.0320.04217.61
7.0.50.0230.04317.97
7.0.40.0150.03316.84
7.0.30.0080.04516.68
7.0.20.0060.03116.84
7.0.10.0090.03716.75
7.0.00.0060.03316.76
5.6.400.0000.00914.17
5.6.390.0040.01214.10
5.6.380.0060.00614.01
5.6.370.0000.01214.42
5.6.360.0040.00814.35
5.6.350.0030.01114.51
5.6.340.0060.00314.39
5.6.330.0110.00314.50
5.6.320.0000.01514.48
5.6.310.0060.00914.25
5.6.300.0030.01414.24
5.6.290.0100.00014.54
5.6.280.0020.04117.67
5.6.270.0030.01014.47
5.6.260.0030.00914.27
5.6.250.0050.04317.50
5.6.240.0050.04317.44
5.6.230.0080.04217.46
5.6.220.0020.05017.37
5.6.210.0070.02817.42
5.6.200.0140.03017.67
5.6.190.0080.04517.61
5.6.180.0080.04317.64
5.6.170.0040.04417.74
5.6.160.0070.04017.78
5.6.150.0100.04117.73
5.6.140.0050.04517.81
5.6.130.0080.04317.73
5.6.120.0120.03717.79
5.6.110.0030.05017.75
5.6.100.0100.04117.55
5.6.90.0090.04317.65
5.6.80.0110.04017.37
5.6.70.0050.04417.28
5.6.60.0070.03517.34
5.6.50.0050.04817.32
5.6.40.0030.03117.37
5.6.30.0070.04017.30
5.6.20.0030.03617.24
5.6.10.0100.03817.26
5.6.00.0070.04617.23
5.5.380.0050.03217.41
5.5.370.0070.04117.43
5.5.360.0080.04317.33
5.5.350.0070.04217.39
5.5.340.0050.04117.48
5.5.330.0070.03017.51
5.5.320.0050.04117.40
5.5.310.0080.04217.56
5.5.300.0030.04317.45
5.5.290.0100.04217.47
5.5.280.0060.04617.38
5.5.270.0070.03917.63
5.5.260.0100.04517.48
5.5.250.0080.03517.33
5.5.240.0070.03717.16
5.5.230.0110.03917.20
5.5.220.0110.03617.23
5.5.210.0060.03817.11
5.5.200.0030.04517.09
5.5.190.0070.04517.14
5.5.180.0050.04517.16
5.5.170.0060.00914.05
5.5.160.0130.03817.21
5.5.150.0080.03917.23
5.5.140.0050.04817.22
5.5.130.0060.04117.18
5.5.120.0100.03717.05
5.5.110.0090.04417.22
5.5.100.0020.05017.15
5.5.90.0080.03817.02
5.5.80.0040.04517.15
5.5.70.0130.03917.07
5.5.60.0050.04217.06
5.5.50.0060.03917.11
5.5.40.0040.04217.18
5.5.30.0030.03417.02
5.5.20.0100.03917.03
5.5.10.0070.03517.22
5.5.00.0070.03416.96
5.4.450.0070.04015.39
5.4.440.0040.03115.39
5.4.430.0080.03715.29
5.4.420.0100.04015.29
5.4.410.0090.03915.20
5.4.400.0050.04015.11
5.4.390.0020.03015.18
5.4.380.0090.01815.14
5.4.370.0030.04115.19
5.4.360.0080.03715.19
5.4.350.0100.03815.01
5.4.340.0080.03515.14
5.4.330.0030.00711.23
5.4.320.0070.03515.13
5.4.310.0080.03215.13
5.4.300.0010.04915.13
5.4.290.0040.03715.13
5.4.280.0050.04115.14
5.4.270.0080.04015.14
5.4.260.0060.04315.19
5.4.250.0030.03915.16
5.4.240.0110.03315.13
5.4.230.0140.03215.13
5.4.220.0030.04515.07
5.4.210.0050.02815.02
5.4.200.0060.04115.18
5.4.190.0080.03815.18
5.4.180.0100.04015.18
5.4.170.0050.02915.14
5.4.160.0060.04015.05
5.4.150.0010.04415.15
5.4.140.0060.03813.65
5.4.130.0060.03913.74
5.4.120.0020.03913.75
5.4.110.0070.02513.84
5.4.100.0050.04313.82
5.4.90.0060.03913.76
5.4.80.0050.03813.82
5.4.70.0030.02513.71
5.4.60.0070.03513.74
5.4.50.0050.03213.78
5.4.40.0090.03213.79
5.4.30.0020.03813.81
5.4.20.0080.03013.71
5.4.10.0050.04113.70
5.4.00.0060.03813.52
5.3.290.0090.03512.95
5.3.280.0030.04212.83
5.3.270.0100.03512.90
5.3.260.0060.01912.85
5.3.250.0050.04112.91
5.3.240.0070.03012.89
5.3.230.0060.03612.91
5.3.220.0050.04112.88
5.3.210.0100.03812.89
5.3.200.0080.04112.88
5.3.190.0060.03712.90
5.3.180.0030.04212.88
5.3.170.0080.02812.89
5.3.160.0060.03912.89
5.3.150.0100.03412.85
5.3.140.0050.02112.79
5.3.130.0070.03012.81
5.3.120.0120.03312.79
5.3.110.0050.04012.88
5.3.100.0080.04012.77
5.3.90.0050.02912.77
5.3.80.0030.04112.77
5.3.70.0060.03612.77
5.3.60.0020.04312.77
5.3.50.0020.04412.77
5.3.40.0030.03512.77
5.3.30.0020.03912.77
5.3.20.0120.02312.77
5.3.10.0070.03712.77
5.3.00.0070.02012.77
5.2.170.0030.06314.32
5.2.160.0070.05714.32
5.2.150.0070.05014.32
5.2.140.0100.05714.32
5.2.130.0100.05014.32
5.2.120.0070.05314.32
5.2.110.0030.06314.32
5.2.100.0070.05714.32
5.2.90.0030.04314.32
5.2.80.0070.05714.32
5.2.70.0030.06714.32
5.2.60.0130.05714.32
5.2.50.0070.05314.32
5.2.40.0070.06014.32
5.2.30.0030.06314.32
5.2.20.0070.06314.32
5.2.10.0030.06314.32
5.2.00.0170.05314.32
5.1.60.0070.05314.32
5.1.50.0070.05314.32
5.1.40.0030.05314.32
5.1.30.0000.06014.32
5.1.20.0030.05314.32
5.1.10.0070.05314.32
5.1.00.0170.04714.32
5.0.50.0070.04014.32
5.0.40.0070.04314.32
5.0.30.0030.06314.32
5.0.20.0030.04314.32
5.0.10.0070.03714.32
5.0.00.0000.06314.32
4.4.90.0000.03714.32
4.4.80.0070.03014.32
4.4.70.0070.03314.32
4.4.60.0000.03014.32
4.4.50.0000.03714.32
4.4.40.0070.05014.32
4.4.30.0030.03714.32
4.4.20.0000.04014.32
4.4.10.0070.03314.32
4.4.00.0000.05714.32
4.3.110.0030.03314.32
4.3.100.0070.03014.32
4.3.90.0070.02314.32
4.3.80.0070.05014.32
4.3.70.0100.02314.32
4.3.60.0000.04014.32
4.3.50.0070.02014.32
4.3.40.0030.05314.32
4.3.30.0000.03714.32
4.3.20.0000.03014.32
4.3.10.0000.02714.32
4.3.00.0000.02314.32

preferences:
61.35 ms | 403 KiB | 5 Q