3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public const NAME = '...'; }

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.00718.86
8.4.10.0030.00622.20
8.3.150.0000.01820.67
8.3.140.0040.01418.80
8.3.130.0030.00616.56
8.3.120.0070.00418.78
8.3.110.0000.01020.94
8.3.100.0030.00618.26
8.3.90.0050.00326.77
8.3.80.0060.00318.43
8.3.70.0080.00816.58
8.3.60.0120.00418.43
8.3.50.0120.00918.18
8.3.40.0140.00420.34
8.3.30.0040.01518.42
8.3.20.0040.00424.18
8.3.10.0070.00024.66
8.3.00.0040.00426.16
8.2.270.0090.00917.21
8.2.260.0000.00818.38
8.2.250.0040.00418.28
8.2.240.0000.00818.91
8.2.230.0120.00622.58
8.2.220.0000.01637.54
8.2.210.0040.00426.77
8.2.200.0030.00618.41
8.2.190.0120.00916.58
8.2.180.0180.00025.92
8.2.170.0070.00718.79
8.2.160.0090.00622.96
8.2.150.0040.00425.66
8.2.140.0030.00624.66
8.2.130.0000.00726.16
8.2.120.0050.00220.88
8.2.110.0000.01021.18
8.2.100.0070.00417.59
8.2.90.0000.00819.09
8.2.80.0030.00617.97
8.2.70.0040.00417.50
8.2.60.0080.00017.38
8.2.50.0040.00417.55
8.2.40.0000.00920.92
8.2.30.0040.00417.97
8.2.20.0000.00819.02
8.2.10.0070.00017.85
8.2.00.0050.00319.10
8.1.310.0140.00318.11
8.1.300.0060.01217.96
8.1.290.0000.00930.84
8.1.280.0070.00725.92
8.1.270.0040.00424.66
8.1.260.0060.00326.35
8.1.250.0040.00428.09
8.1.240.0030.00621.15
8.1.230.0000.01219.48
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0030.00617.10
8.1.190.0000.00917.10
8.1.180.0040.00418.88
8.1.170.0020.00518.88
8.1.160.0000.00718.89
8.1.150.0070.00018.61
8.1.140.0070.00017.18
8.1.130.0040.00418.54
8.1.120.0050.00317.38
8.1.110.0000.00717.20
8.1.100.0060.00617.39
8.1.90.0140.00317.25
8.1.80.0140.00317.35
8.1.70.0070.00717.32
8.1.60.0180.00017.29
8.1.50.0170.00017.21
8.1.40.0110.00617.39
8.1.30.0160.00217.41
8.1.20.0080.00817.43
8.1.10.0040.01317.33
8.1.00.0130.00417.29
8.0.300.0000.00718.77
8.0.290.0040.00416.58
8.0.280.0030.00318.22
8.0.270.0000.00716.61
8.0.260.0030.00318.30
8.0.250.0070.00016.81
8.0.240.0000.00716.77
8.0.230.0030.00916.64
8.0.220.0090.00516.75
8.0.210.0110.00316.64
8.0.200.0110.00516.84
8.0.190.0080.00816.80
8.0.180.0110.00416.75
8.0.170.0070.00716.77
8.0.160.0130.00216.68
8.0.150.0070.00416.63
8.0.140.0110.00416.54
8.0.130.0070.00716.63
8.0.120.0080.00416.64
8.0.110.0100.00316.69
8.0.100.0120.00316.61
8.0.90.0050.00916.76
8.0.80.0120.00216.63
8.0.70.0120.00416.68
8.0.60.0100.00316.77
8.0.50.0090.00916.67
8.0.30.0140.00216.70
8.0.20.0150.00016.71
8.0.10.0110.00416.89
8.0.00.0030.00516.87
7.4.330.0020.00215.55
7.4.320.0060.00016.42
7.4.300.0040.00416.41
7.4.290.0130.00416.25
7.4.280.0090.00516.46
7.4.270.0100.00016.16
7.4.260.0100.00016.24
7.4.250.0130.00516.39
7.4.240.0170.00016.38
7.4.230.0100.00716.20
7.4.220.0030.00616.28
7.4.210.0080.00416.35
7.4.200.0030.00916.46
7.4.190.0070.00916.46
7.4.180.0110.00416.39
7.4.160.0070.00416.33
7.4.150.0100.00316.28
7.4.140.0080.00416.18
7.4.130.0110.00316.06
7.4.120.0030.00716.20
7.4.110.0060.00315.94
7.4.100.0000.00816.37
7.4.90.0040.00416.10
7.4.80.0060.00616.31
7.4.70.0140.00016.08
7.4.60.0050.01016.14
7.4.50.0080.00516.09
7.4.40.0060.00316.00
7.4.30.0050.00315.91
7.4.20.0040.00416.28
7.4.10.0070.00416.28
7.4.00.0080.00416.29
7.3.330.0100.00716.15
7.3.320.0070.00716.15
7.3.310.0150.00015.95
7.3.300.0120.00316.09
7.3.290.0110.00416.13
7.3.280.0140.00216.18
7.3.270.0120.00216.15
7.3.260.0140.00016.11
7.3.250.0120.00316.05
7.3.240.0110.00416.02
7.3.230.0090.00616.12
7.3.220.0100.00316.14
7.3.210.0050.01015.90
7.3.200.0000.01416.20
7.3.190.0070.00716.14
7.3.180.0100.00515.95
7.3.170.0100.00416.12
7.3.160.0120.00215.87
7.3.150.0050.01015.95
7.3.140.0120.00215.94
7.3.130.0040.00916.14
7.3.120.0070.00715.95
7.3.110.0120.00315.84
7.3.100.0080.00615.84
7.3.90.0140.00016.36
7.3.80.0110.00316.08
7.3.70.0100.00316.21
7.3.60.0110.00316.25
7.3.50.0090.00616.10
7.3.40.0030.01016.14
7.3.30.0130.00316.31
7.3.20.0110.00317.91
7.3.10.0120.00317.87
7.3.00.0080.00818.04
7.2.340.0140.00016.07
7.2.330.0070.00716.27
7.2.320.0110.00415.97
7.2.310.0140.00015.97
7.2.300.0120.00316.12
7.2.290.0110.00316.03
7.2.280.0140.00015.98
7.2.270.0130.00315.97
7.2.260.0140.00016.02
7.2.250.0110.00316.19
7.2.240.0100.00516.24
7.2.230.0100.00515.99
7.2.220.0140.00016.03
7.2.210.0090.00516.20
7.2.200.0120.00316.34
7.2.190.0140.00016.32
7.2.180.0050.00916.14
7.2.170.0100.00316.39
7.2.160.0050.00916.46
7.2.150.0120.00318.05
7.2.140.0110.00318.24
7.2.130.0110.00418.21
7.2.120.0070.00718.26
7.2.110.0100.00518.14
7.2.100.0130.00318.13
7.2.90.0050.01018.23
7.2.80.0090.00518.31
7.2.70.0080.00818.21
7.2.60.0200.00618.23
7.2.50.0120.00418.24
7.2.40.0110.00418.28
7.2.30.0110.00418.26
7.2.20.0070.00718.23
7.2.10.0100.00518.16
7.2.00.0140.00118.28
7.1.330.0110.00217.20
7.1.320.0070.00617.04
7.1.310.0090.00417.21
7.1.300.0100.00317.14
7.1.290.0070.00717.01
7.1.280.0060.00917.25
7.1.270.0110.00317.35
7.1.260.0140.00717.25
7.1.250.0140.00017.20
7.1.240.0090.00517.10
7.1.230.0000.01317.31
7.1.220.0070.00717.19
7.1.210.0150.00017.24
7.1.200.0110.00417.11
7.1.190.0110.00417.23
7.1.180.0180.00016.91
7.1.170.0080.00517.01
7.1.160.0110.00417.00
7.1.150.0090.00516.93
7.1.140.0090.00617.09
7.1.130.0160.00017.17
7.1.120.0000.01317.00
7.1.110.0140.00016.98
7.1.100.0100.00316.95
7.1.90.0140.00017.12
7.1.80.0140.00017.04
7.1.70.0180.00316.94
7.1.60.0110.00416.94
7.1.50.0080.00617.07
7.1.40.0190.00417.21
7.1.30.0140.00017.12
7.1.20.0110.00317.10
7.1.10.0120.00217.02
7.1.00.0080.00517.05
7.0.330.0130.00016.75
7.0.320.0110.00216.59
7.0.310.0100.00316.77
7.0.300.0100.00316.71
7.0.290.0080.00516.88
7.0.280.0130.00016.80
7.0.270.0070.00716.89
7.0.260.0140.00016.76
7.0.250.0140.00017.04
7.0.240.0140.00016.88
7.0.230.0070.00716.81
7.0.220.0080.00616.75
7.0.210.0100.00516.73
7.0.200.0070.00716.75
7.0.190.0110.00216.91
7.0.180.0130.00016.73
7.0.170.0090.00516.80
7.0.160.0110.00316.91
7.0.150.0110.00416.82
7.0.140.0070.00716.77
7.0.130.0090.00416.80
7.0.120.0090.00417.04
7.0.110.0100.00316.89
7.0.100.0070.00716.65
7.0.90.0140.00016.61
7.0.80.0130.00016.70
7.0.70.0030.01016.73
7.0.60.0130.00016.79
7.0.50.0090.00416.64
7.0.40.0100.00316.90
7.0.30.0100.00316.81
7.0.20.0090.00416.57
7.0.10.0060.00616.88
7.0.00.0090.00316.81
5.6.400.0070.00715.46
5.6.390.0070.00715.45
5.6.380.0090.00415.71
5.6.370.0100.00315.56
5.6.360.0090.00415.68
5.6.350.0070.00715.43
5.6.340.0100.00315.44
5.6.330.0100.00315.64
5.6.320.0140.00015.46
5.6.310.0140.00015.62
5.6.300.0130.00015.37
5.6.290.0100.00215.59
5.6.280.0040.00915.48
5.6.270.0130.00015.67
5.6.260.0080.00415.69
5.6.250.0130.00015.63
5.6.240.0130.00015.65
5.6.230.0080.00815.53
5.6.220.0130.00015.68
5.6.210.0110.00215.66
5.6.200.0130.00015.88
5.6.190.0110.00315.68
5.6.180.0130.00015.70
5.6.170.0090.00415.78
5.6.160.0100.00315.80
5.6.150.0100.00315.63
5.6.140.0130.00015.62
5.6.130.0130.00015.61
5.6.120.0130.00015.74
5.6.110.0100.00315.64
5.6.100.0040.00915.67
5.6.90.0090.00415.65
5.6.80.0080.00415.40
5.6.70.0100.00215.50
5.6.60.0080.00415.68
5.6.50.0060.00615.43
5.6.40.0080.00415.70
5.6.30.0080.00415.61
5.6.20.0060.00615.49
5.6.10.0120.00015.51
5.6.00.0120.00015.41
5.5.380.0090.00315.61
5.5.370.0100.00315.52
5.5.360.0050.00815.34
5.5.350.0100.00315.49
5.5.340.0130.00015.41
5.5.330.0070.00715.48
5.5.320.0100.00315.42
5.5.310.0130.00015.41
5.5.300.0110.00315.50
5.5.290.0070.00615.49
5.5.280.0090.00415.61
5.5.270.0070.00715.39
5.5.260.0040.00915.48
5.5.250.0100.00315.40
5.5.240.0090.00515.40
5.5.230.0130.00015.70
5.5.220.0090.00515.52
5.5.210.0100.00215.36
5.5.200.0130.00015.43
5.5.190.0090.00315.25
5.5.180.0090.00315.42
5.5.170.0090.00415.49
5.5.160.0100.00215.25
5.5.150.0080.00515.46
5.5.140.0040.00815.21
5.5.130.0100.00315.11
5.5.120.0100.00315.35
5.5.110.0130.00015.23
5.5.100.0070.00715.66
5.5.90.0050.00815.65
5.5.80.0060.00615.59
5.5.70.0130.00015.37
5.5.60.0100.00315.54
5.5.50.0130.00015.58
5.5.40.0130.00015.36
5.5.30.0080.00415.48
5.5.20.0100.00215.57
5.5.10.0030.00915.43
5.5.00.0130.00015.31
5.4.450.0120.00012.32
5.4.440.0060.00612.51
5.4.430.0100.00012.29
5.4.420.0050.00512.50
5.4.410.0070.00312.44
5.4.400.0110.00012.34
5.4.390.0100.00012.38
5.4.380.0050.00512.36
5.4.370.0040.00712.41
5.4.360.0070.00312.36
5.4.350.0070.00412.38
5.4.340.0070.00412.48
5.4.330.0040.00712.44
5.4.320.0050.00512.19
5.4.310.0040.00812.43
5.4.300.0030.00712.42
5.4.290.0080.00412.26
5.4.280.0040.00712.28
5.4.270.0110.00012.42
5.4.260.0110.00012.19
5.4.250.0090.00212.38
5.4.240.0100.00012.38
5.4.230.0110.00012.34
5.4.220.0070.00412.16
5.4.210.0070.00312.33
5.4.200.0080.00312.18
5.4.190.0110.00012.02
5.4.180.0110.00012.06
5.4.170.0110.00012.25
5.4.160.0110.00012.27
5.4.150.0070.00412.24
5.4.140.0070.00212.21
5.4.130.0070.00212.51
5.4.120.0030.00712.30
5.4.110.0100.00012.50
5.4.100.0030.00712.28
5.4.90.0090.00012.27
5.4.80.0070.00212.30
5.4.70.0110.00012.58
5.4.60.0080.00312.49
5.4.50.0050.00512.34
5.4.40.0100.00012.46
5.4.30.0060.00312.22
5.4.20.0100.00012.56
5.4.10.0030.00712.56
5.4.00.0070.00212.29
5.3.290.0050.00012.89
5.3.280.0030.00712.56
5.3.270.0080.00312.57
5.3.260.0030.00712.56
5.3.250.0070.00412.83
5.3.240.0050.00512.77
5.3.230.0070.00312.84
5.3.220.0100.00012.84
5.3.210.0080.00412.56
5.3.200.0030.00712.76
5.3.190.0110.00012.83
5.3.180.0040.00712.87
5.3.170.0070.00312.96
5.3.160.0040.00713.02
5.3.150.0040.00712.79
5.3.140.0070.00412.64
5.3.130.0080.00312.69
5.3.120.0050.00512.96
5.3.110.0040.00712.88
5.3.100.0030.00712.73
5.3.90.0100.00012.79
5.3.80.0070.00312.54
5.3.70.0100.00012.59
5.3.60.0000.01012.88
5.3.50.0070.00412.59
5.3.40.0070.00312.59
5.3.30.0100.00012.71
5.3.20.0070.00312.69
5.3.10.0110.00012.58
5.3.00.0070.00212.34
5.2.170.0030.00611.89
5.2.160.0040.00411.74
5.2.150.0060.00211.64
5.2.140.0040.00411.61
5.2.130.0090.00011.88
5.2.120.0040.00411.87
5.2.110.0050.00411.61
5.2.100.0090.00011.61
5.2.90.0040.00411.62
5.2.80.0070.00211.53
5.2.70.0000.00811.76
5.2.60.0060.00311.40
5.2.50.0040.00411.82
5.2.40.0040.00411.82
5.2.30.0060.00211.71
5.2.20.0030.00511.38
5.2.10.0050.00411.56
5.2.00.0080.00011.47
5.1.60.0070.00010.93
5.1.50.0040.00410.88
5.1.40.0060.00210.73
5.1.30.0050.00311.03
5.1.20.0070.00010.84
5.1.10.0080.00010.91
5.1.00.0070.00010.55
5.0.50.0060.0009.90
5.0.40.0070.0009.77
5.0.30.0030.0039.75
5.0.20.0070.0009.78
5.0.10.0040.0029.83
5.0.00.0000.0069.60
4.4.90.0030.0009.60
4.4.80.0000.0049.60
4.4.70.0000.0049.60
4.4.60.0020.0029.60
4.4.50.0040.0009.60
4.4.40.0000.0039.60
4.4.30.0000.0049.60
4.4.20.0000.0049.60
4.4.10.0020.0029.60
4.4.00.0030.0009.60
4.3.110.0020.0029.60
4.3.100.0000.0049.60
4.3.90.0040.0009.60
4.3.80.0040.0009.60
4.3.70.0040.0009.60
4.3.60.0030.0009.60
4.3.50.0030.0009.60
4.3.40.0040.0009.60
4.3.30.0030.0009.60
4.3.20.0030.0009.60
4.3.10.0000.0029.60
4.3.00.0030.0009.60

preferences:
41.55 ms | 403 KiB | 5 Q