3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { protected 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.0090.00619.08
8.4.10.0000.01021.80
8.3.150.0110.00719.01
8.3.140.0000.01516.60
8.3.130.0090.00018.16
8.3.120.0060.00320.51
8.3.110.0130.00320.94
8.3.100.0060.00918.25
8.3.90.0030.00526.77
8.3.80.0110.00016.38
8.3.70.0090.01216.63
8.3.60.0090.00916.38
8.3.50.0140.00718.39
8.3.40.0060.01220.18
8.3.30.0100.01018.71
8.3.20.0050.00224.18
8.3.10.0070.00024.66
8.3.00.0070.00026.16
8.2.270.0130.01016.49
8.2.260.0080.00020.45
8.2.250.0080.00016.66
8.2.240.0120.00617.14
8.2.230.0080.00022.58
8.2.220.0090.00624.06
8.2.210.0120.00626.77
8.2.200.0060.00318.16
8.2.190.0120.00316.58
8.2.180.0100.01025.92
8.2.170.0090.00618.79
8.2.160.0080.00622.96
8.2.150.0070.00025.66
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0070.00020.94
8.2.110.0030.00622.21
8.2.100.0040.00817.53
8.2.90.0000.00819.00
8.2.80.0030.00517.97
8.2.70.0040.00417.38
8.2.60.0030.00617.80
8.2.50.0040.00418.07
8.2.40.0000.00718.21
8.2.30.0080.00017.93
8.2.20.0080.00019.02
8.2.10.0040.00417.93
8.2.00.0070.00019.21
8.1.310.0080.00016.57
8.1.300.0040.00416.69
8.1.290.0040.00430.84
8.1.280.0070.00725.92
8.1.270.0040.00424.66
8.1.260.0000.00826.35
8.1.250.0070.00028.09
8.1.240.0030.00620.48
8.1.230.0080.00817.56
8.1.220.0030.00717.74
8.1.210.0000.00918.77
8.1.200.0060.00317.10
8.1.190.0040.00417.11
8.1.180.0000.00818.10
8.1.170.0070.00418.65
8.1.160.0040.00418.86
8.1.150.0000.00718.50
8.1.140.0050.00217.31
8.1.130.0000.00718.75
8.1.120.0070.00017.27
8.1.110.0030.00317.32
8.1.100.0070.00217.30
8.1.90.0080.00517.36
8.1.80.0120.00217.27
8.1.70.0050.01017.26
8.1.60.0140.00317.43
8.1.50.0000.01817.26
8.1.40.0140.00317.28
8.1.30.0140.00417.41
8.1.20.0120.00517.40
8.1.10.0170.00017.37
8.1.00.0130.00517.27
8.0.300.0000.00819.84
8.0.290.0070.00016.58
8.0.280.0050.00318.37
8.0.270.0040.00417.78
8.0.260.0030.00318.30
8.0.250.0040.00416.68
8.0.240.0030.00316.73
8.0.230.0130.00016.74
8.0.220.0070.00716.62
8.0.210.0070.00716.83
8.0.200.0050.01016.72
8.0.190.0120.00316.77
8.0.180.0050.01116.62
8.0.170.0110.00416.66
8.0.160.0100.00516.85
8.0.150.0080.00216.59
8.0.140.0140.00016.65
8.0.130.0150.00016.62
8.0.120.0070.00516.64
8.0.110.0090.00416.67
8.0.100.0090.00616.68
8.0.90.0070.00716.66
8.0.80.0100.00416.62
8.0.70.0090.00616.62
8.0.60.0060.00616.74
8.0.50.0120.00416.79
8.0.30.0120.00416.70
8.0.20.0100.00616.68
8.0.10.0090.00616.86
8.0.00.0040.00416.72
7.4.330.0000.00515.55
7.4.320.0000.00716.38
7.4.300.0030.00316.43
7.4.290.0170.00016.32
7.4.280.0100.00316.39
7.4.270.0050.00516.40
7.4.260.0030.00816.31
7.4.250.0100.00516.41
7.4.240.0130.00216.34
7.4.230.0080.00816.43
7.4.220.0030.00716.19
7.4.210.0100.00316.33
7.4.200.0000.01116.42
7.4.190.0150.00016.45
7.4.180.0070.00816.41
7.4.160.0090.00316.32
7.4.150.0110.00416.39
7.4.140.0080.00416.23
7.4.130.0090.00516.36
7.4.120.0040.00416.07
7.4.110.0030.00615.84
7.4.100.0000.00916.27
7.4.90.0080.00016.18
7.4.80.0080.00416.15
7.4.70.0070.00716.08
7.4.60.0110.00416.15
7.4.50.0130.00016.10
7.4.40.0030.00615.88
7.4.30.0040.00415.91
7.4.20.0080.00016.16
7.4.10.0040.00816.21
7.4.00.0070.00516.28
7.3.330.0110.00416.23
7.3.320.0040.01216.13
7.3.310.0100.00516.19
7.3.300.0100.00516.00
7.3.290.0120.00316.18
7.3.280.0110.00416.20
7.3.270.0110.00416.11
7.3.260.0070.00716.18
7.3.250.0000.01516.14
7.3.240.0070.00716.00
7.3.230.0100.00515.99
7.3.220.0050.00915.95
7.3.210.0110.00316.07
7.3.200.0090.00515.89
7.3.190.0100.00415.99
7.3.180.0070.00716.12
7.3.170.0070.00716.12
7.3.160.0150.00015.97
7.3.150.0110.00316.14
7.3.140.0140.00016.04
7.3.130.0050.00916.20
7.3.120.0110.00316.14
7.3.110.0140.00015.91
7.3.100.0090.00516.02
7.3.90.0070.00716.34
7.3.80.0070.00716.03
7.3.70.0140.00016.19
7.3.60.0090.00416.15
7.3.50.0000.01416.07
7.3.40.0140.00016.27
7.3.30.0110.00316.15
7.3.20.0120.00217.89
7.3.10.0100.00517.96
7.3.00.0110.00418.07
7.2.340.0000.01416.27
7.2.330.0110.00416.02
7.2.320.0120.00216.19
7.2.310.0140.00016.02
7.2.300.0070.00716.22
7.2.290.0120.00216.01
7.2.280.0090.00516.18
7.2.270.0000.01416.13
7.2.260.0140.00015.99
7.2.250.0070.00716.18
7.2.240.0140.00016.22
7.2.230.0140.00016.19
7.2.220.0030.01016.16
7.2.210.0100.00316.14
7.2.200.0120.00316.34
7.2.190.0070.00716.13
7.2.180.0120.00316.11
7.2.170.0140.00016.43
7.2.160.0050.00916.38
7.2.150.0110.00418.20
7.2.140.0100.00518.25
7.2.130.0100.00518.38
7.2.120.0150.00018.36
7.2.110.0140.00018.29
7.2.100.0030.01118.30
7.2.90.0050.01018.18
7.2.80.0120.00818.20
7.2.70.0160.00018.11
7.2.60.0140.00218.23
7.2.50.0070.00718.13
7.2.40.0150.00318.15
7.2.30.0000.01518.27
7.2.20.0140.00018.24
7.2.10.0100.00518.23
7.2.00.0040.01118.23
7.1.330.0100.00317.25
7.1.320.0060.00617.21
7.1.310.0080.00517.04
7.1.300.0100.00317.15
7.1.290.0100.00317.20
7.1.280.0110.00217.16
7.1.270.0090.00517.39
7.1.260.0070.00717.09
7.1.250.0000.01417.00
7.1.240.0100.00317.25
7.1.230.0150.00417.24
7.1.220.0120.00217.20
7.1.210.0140.00017.22
7.1.200.0050.00917.20
7.1.190.0070.00717.09
7.1.180.0120.00217.23
7.1.170.0140.00017.17
7.1.160.0140.00016.94
7.1.150.0100.00317.03
7.1.140.0200.00017.17
7.1.130.0100.00517.17
7.1.120.0120.00217.12
7.1.110.0090.00517.10
7.1.100.0100.00317.13
7.1.90.0150.00017.12
7.1.80.0150.00017.14
7.1.70.0070.00716.99
7.1.60.0140.00017.05
7.1.50.0100.00317.21
7.1.40.0040.00917.09
7.1.30.0070.00717.09
7.1.20.0110.00217.10
7.1.10.0100.00317.19
7.1.00.0130.00016.91
7.0.330.0100.00316.75
7.0.320.0130.00016.85
7.0.310.0100.00316.77
7.0.300.0130.00016.92
7.0.290.0070.00716.83
7.0.280.0130.00016.78
7.0.270.0060.00716.75
7.0.260.0040.00916.89
7.0.250.0040.00917.04
7.0.240.0100.00416.79
7.0.230.0070.00716.87
7.0.220.0110.00316.82
7.0.210.0070.00716.68
7.0.200.0090.00416.88
7.0.190.0090.00416.89
7.0.180.0080.00416.73
7.0.170.0110.00217.11
7.0.160.0080.00516.76
7.0.150.0040.00816.77
7.0.140.0110.00316.62
7.0.130.0130.00016.87
7.0.120.0110.00316.93
7.0.110.0110.00316.66
7.0.100.0100.00316.79
7.0.90.0160.00016.85
7.0.80.0090.00616.77
7.0.70.0120.00416.69
7.0.60.0080.00416.90
7.0.50.0110.00216.80
7.0.40.0080.00416.83
7.0.30.0040.00916.84
7.0.20.0090.00316.68
7.0.10.0120.00016.64
7.0.00.0120.00016.77
5.6.400.0110.00215.60
5.6.390.0090.00415.60
5.6.380.0080.00515.59
5.6.370.0090.00515.64
5.6.360.0080.00515.46
5.6.350.0120.00015.55
5.6.340.0150.00015.59
5.6.330.0120.00215.67
5.6.320.0090.00415.58
5.6.310.0100.00315.75
5.6.300.0090.00415.32
5.6.290.0080.00415.56
5.6.280.0100.00315.35
5.6.270.0120.00015.63
5.6.260.0070.00515.46
5.6.250.0130.00015.72
5.6.240.0100.00215.68
5.6.230.0080.00515.47
5.6.220.0070.00615.57
5.6.210.0090.00415.46
5.6.200.0080.00415.61
5.6.190.0080.00515.83
5.6.180.0060.00615.70
5.6.170.0140.00015.57
5.6.160.0150.00015.63
5.6.150.0060.00615.62
5.6.140.0100.00315.48
5.6.130.0080.00415.50
5.6.120.0030.01015.68
5.6.110.0120.00015.41
5.6.100.0060.00615.54
5.6.90.0080.00515.64
5.6.80.0060.00615.52
5.6.70.0120.00015.50
5.6.60.0080.00415.63
5.6.50.0090.00315.38
5.6.40.0060.00615.61
5.6.30.0130.00015.42
5.6.20.0000.01215.38
5.6.10.0100.00315.39
5.6.00.0100.00315.63
5.5.380.0060.00615.62
5.5.370.0080.00515.79
5.5.360.0130.00015.65
5.5.350.0090.00415.42
5.5.340.0100.00315.39
5.5.330.0090.00415.23
5.5.320.0100.00315.44
5.5.310.0030.01015.50
5.5.300.0080.00615.35
5.5.290.0090.00415.51
5.5.280.0070.00715.61
5.5.270.0090.00415.64
5.5.260.0130.00015.28
5.5.250.0090.00415.42
5.5.240.0140.00015.55
5.5.230.0130.00315.40
5.5.220.0030.01015.52
5.5.210.0080.00415.60
5.5.200.0060.00615.57
5.5.190.0100.00315.23
5.5.180.0060.00915.51
5.5.170.0080.00515.51
5.5.160.0120.00015.49
5.5.150.0130.00015.20
5.5.140.0130.00015.12
5.5.130.0130.00015.16
5.5.120.0040.00815.24
5.5.110.0100.00315.14
5.5.100.0040.00915.61
5.5.90.0090.00315.62
5.5.80.0130.00015.65
5.5.70.0100.00215.63
5.5.60.0100.00315.44
5.5.50.0120.00015.65
5.5.40.0120.00015.29
5.5.30.0120.00015.39
5.5.20.0000.01215.60
5.5.10.0070.00515.32
5.5.00.0120.00015.28
5.4.450.0100.00012.59
5.4.440.0100.00012.41
5.4.430.0080.00312.48
5.4.420.0060.00412.29
5.4.410.0070.00312.30
5.4.400.0060.00412.43
5.4.390.0080.00312.37
5.4.380.0100.00012.25
5.4.370.0070.00312.52
5.4.360.0110.00012.21
5.4.350.0110.00012.23
5.4.340.0040.00712.13
5.4.330.0100.00012.45
5.4.320.0070.00412.20
5.4.310.0080.00312.28
5.4.300.0050.00512.43
5.4.290.0040.00812.57
5.4.280.0100.00212.44
5.4.270.0100.00012.44
5.4.260.0110.00012.23
5.4.250.0030.00712.35
5.4.240.0100.00012.20
5.4.230.0070.00412.04
5.4.220.0100.00012.25
5.4.210.0050.00512.14
5.4.200.0040.00712.02
5.4.190.0050.00512.19
5.4.180.0070.00412.25
5.4.170.0040.00712.23
5.4.160.0070.00312.20
5.4.150.0050.00512.25
5.4.140.0070.00312.21
5.4.130.0100.00012.37
5.4.120.0050.00512.50
5.4.110.0040.00712.41
5.4.100.0050.00512.27
5.4.90.0070.00312.57
5.4.80.0070.00312.55
5.4.70.0050.00512.45
5.4.60.0110.00012.32
5.4.50.0110.00012.13
5.4.40.0050.00512.50
5.4.30.0090.00012.19
5.4.20.0050.00512.57
5.4.10.0100.00012.57
5.4.00.0100.00012.44
5.3.290.0030.00312.64
5.3.280.0100.00012.80
5.3.270.0090.00212.58
5.3.260.0110.00012.83
5.3.250.0050.00512.92
5.3.240.0080.00312.67
5.3.230.0110.00012.60
5.3.220.0000.01112.77
5.3.210.0070.00412.56
5.3.200.0050.00512.57
5.3.190.0070.00512.58
5.3.180.0070.00412.73
5.3.170.0100.00212.79
5.3.160.0080.00313.03
5.3.150.0080.00312.87
5.3.140.0070.00412.88
5.3.130.0080.00312.80
5.3.120.0100.00012.72
5.3.110.0040.00812.95
5.3.100.0050.00512.88
5.3.90.0030.00712.93
5.3.80.0060.00312.82
5.3.70.0100.00012.82
5.3.60.0050.00512.64
5.3.50.0100.00012.84
5.3.40.0070.00312.80
5.3.30.0100.00012.80
5.3.20.0070.00312.55
5.3.10.0100.00012.39
5.3.00.0000.01012.57
5.2.170.0090.00011.67
5.2.160.0050.00311.88
5.2.150.0040.00411.66
5.2.140.0040.00411.57
5.2.130.0060.00311.63
5.2.120.0090.00011.88
5.2.110.0040.00411.82
5.2.100.0000.00911.79
5.2.90.0090.00011.62
5.2.80.0040.00411.56
5.2.70.0080.00011.55
5.2.60.0030.00611.46
5.2.50.0040.00411.62
5.2.40.0040.00411.62
5.2.30.0080.00011.76
5.2.20.0030.00611.62
5.2.10.0060.00211.60
5.2.00.0060.00311.23
5.1.60.0070.00010.93
5.1.50.0040.00410.64
5.1.40.0050.00211.05
5.1.30.0040.00410.91
5.1.20.0050.00310.73
5.1.10.0030.00510.63
5.1.00.0000.00810.55
5.0.50.0000.0069.87
5.0.40.0060.0009.93
5.0.30.0060.0009.67
5.0.20.0030.0039.75
5.0.10.0060.0009.82
5.0.00.0000.0069.60
4.4.90.0040.0009.60
4.4.80.0000.0049.60
4.4.70.0040.0009.60
4.4.60.0040.0009.60
4.4.50.0040.0009.60
4.4.40.0040.0009.60
4.4.30.0040.0009.60
4.4.20.0040.0009.60
4.4.10.0030.0009.60
4.4.00.0030.0009.60
4.3.110.0030.0009.60
4.3.100.0040.0009.60
4.3.90.0040.0009.60
4.3.80.0040.0009.60
4.3.70.0020.0029.60
4.3.60.0030.0009.60
4.3.50.0040.0009.60
4.3.40.0040.0009.60
4.3.30.0000.0039.60
4.3.20.0000.0039.60
4.3.10.0000.0029.60
4.3.00.0000.0039.60

preferences:
51.93 ms | 403 KiB | 5 Q