3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { private $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.00618.78
8.4.10.0030.00621.78
8.3.150.0090.00920.68
8.3.140.0070.01118.09
8.3.130.0040.00416.44
8.3.120.0100.00719.04
8.3.110.0120.00820.94
8.3.100.0040.00424.06
8.3.90.0040.01126.77
8.3.80.0070.00316.75
8.3.70.0140.00716.58
8.3.60.0070.00716.38
8.3.50.0100.01018.42
8.3.40.0120.00320.12
8.3.30.0120.00318.46
8.3.20.0040.00424.18
8.3.10.0050.00324.66
8.3.00.0040.00426.16
8.2.270.0110.00817.32
8.2.260.0080.00818.38
8.2.250.0060.00318.32
8.2.240.0030.00618.98
8.2.230.0000.00822.58
8.2.220.0060.00337.54
8.2.210.0070.00726.77
8.2.200.0060.00316.25
8.2.190.0130.00916.58
8.2.180.0000.01425.92
8.2.170.0120.00318.83
8.2.160.0100.00722.96
8.2.150.0040.00425.66
8.2.140.0080.00024.66
8.2.130.0070.00026.16
8.2.120.0070.00021.20
8.2.110.0100.00022.30
8.2.100.0120.00017.79
8.2.90.0000.00818.09
8.2.80.0080.00018.83
8.2.70.0040.00417.79
8.2.60.0100.00018.09
8.2.50.0000.00918.10
8.2.40.0000.00718.09
8.2.30.0000.00818.06
8.2.20.0030.00519.02
8.2.10.0000.00717.88
8.2.00.0000.00719.03
8.1.310.0060.00816.55
8.1.300.0030.00617.77
8.1.290.0030.00618.88
8.1.280.0040.01225.92
8.1.270.0070.00024.66
8.1.260.0050.00326.35
8.1.250.0050.00328.09
8.1.240.0170.00323.97
8.1.230.0030.00922.70
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0040.00817.22
8.1.190.0060.00317.23
8.1.180.0030.00518.10
8.1.170.0060.00317.62
8.1.160.0030.00518.93
8.1.150.0070.00018.50
8.1.140.0000.00717.37
8.1.130.0040.00417.36
8.1.120.0030.00317.35
8.1.110.0040.00417.39
8.1.100.0080.00217.21
8.1.90.0150.00017.33
8.1.80.0140.00217.22
8.1.70.0050.01117.24
8.1.60.0150.00317.38
8.1.50.0060.01217.40
8.1.40.0120.00617.39
8.1.30.0160.00317.49
8.1.20.0180.00017.55
8.1.10.0060.01217.34
8.1.00.0150.00317.27
8.0.300.0040.00421.87
8.0.290.0060.00316.58
8.0.280.0040.00418.31
8.0.270.0030.00316.62
8.0.260.0040.00416.68
8.0.250.0040.00416.83
8.0.240.0030.00316.78
8.0.230.0080.00416.70
8.0.220.0000.01516.72
8.0.210.0130.00316.71
8.0.200.0090.00616.64
8.0.190.0000.01516.70
8.0.180.0110.00516.74
8.0.170.0110.00416.82
8.0.160.0160.00016.61
8.0.150.0120.00616.56
8.0.140.0120.00316.60
8.0.130.0080.00716.68
8.0.120.0110.00516.72
8.0.110.0090.00616.64
8.0.100.0130.00016.65
8.0.90.0060.00916.75
8.0.80.0080.00816.71
8.0.70.0110.00416.71
8.0.60.0120.00416.69
8.0.50.0150.00016.55
8.0.30.0040.01216.68
8.0.20.0120.00416.74
8.0.10.0100.00616.88
8.0.00.0030.00616.79
7.4.330.0030.00215.55
7.4.320.0040.00416.46
7.4.300.0020.00516.46
7.4.290.0160.00316.43
7.4.280.0110.00716.44
7.4.270.0130.00016.32
7.4.260.0070.00316.37
7.4.250.0070.00716.38
7.4.240.0090.00616.32
7.4.230.0160.00016.20
7.4.220.0050.00516.34
7.4.210.0120.00216.28
7.4.200.0080.00416.41
7.4.190.0070.00716.42
7.4.180.0120.00316.36
7.4.160.0060.00616.30
7.4.150.0140.00016.21
7.4.140.0050.00616.21
7.4.130.0070.00716.21
7.4.120.0000.01316.09
7.4.110.0090.00616.12
7.4.100.0100.00016.32
7.4.90.0050.00316.07
7.4.80.0130.00016.24
7.4.70.0140.00016.30
7.4.60.0070.00816.26
7.4.50.0100.00315.90
7.4.40.0060.00316.04
7.4.30.0080.00016.11
7.4.20.0080.00016.16
7.4.10.0070.00416.11
7.4.00.0060.00616.27
7.3.330.0140.00016.12
7.3.320.0140.00016.04
7.3.310.0110.00416.04
7.3.300.0110.00316.18
7.3.290.0120.00216.21
7.3.280.0110.00416.21
7.3.270.0100.00516.18
7.3.260.0100.00316.14
7.3.250.0040.01216.04
7.3.240.0070.00716.11
7.3.230.0120.00216.16
7.3.220.0050.00916.07
7.3.210.0070.00715.97
7.3.200.0080.00816.00
7.3.190.0100.00316.12
7.3.180.0050.00916.18
7.3.170.0070.00716.11
7.3.160.0000.01416.15
7.3.150.0130.00016.14
7.3.140.0070.00716.20
7.3.130.0110.00415.98
7.3.120.0070.00716.15
7.3.110.0110.00416.02
7.3.100.0050.00916.08
7.3.90.0090.00516.18
7.3.80.0140.00016.10
7.3.70.0070.00716.04
7.3.60.0110.00316.14
7.3.50.0050.01016.32
7.3.40.0150.00016.37
7.3.30.0140.00016.07
7.3.20.0110.00518.16
7.3.10.0150.00018.04
7.3.00.0120.00418.01
7.2.340.0070.00716.03
7.2.330.0070.00716.13
7.2.320.0070.00815.98
7.2.310.0040.00916.23
7.2.300.0080.00716.03
7.2.290.0080.00816.20
7.2.280.0150.00016.20
7.2.270.0120.00216.23
7.2.260.0110.00315.97
7.2.250.0090.00616.20
7.2.240.0100.00516.11
7.2.230.0140.00016.07
7.2.220.0140.00016.18
7.2.210.0100.00516.02
7.2.200.0110.00416.32
7.2.190.0150.00016.12
7.2.180.0040.01116.09
7.2.170.0100.00516.39
7.2.160.0160.00016.36
7.2.150.0110.00518.20
7.2.140.0150.00018.19
7.2.130.0120.00318.38
7.2.120.0140.00018.33
7.2.110.0140.00018.30
7.2.100.0040.01118.39
7.2.90.0160.00018.06
7.2.80.0120.00318.05
7.2.70.0100.00518.20
7.2.60.0130.00218.09
7.2.50.0110.00318.24
7.2.40.0120.00318.31
7.2.30.0110.00418.31
7.2.20.0090.00618.39
7.2.10.0140.00018.27
7.2.00.0100.00518.32
7.1.330.0100.00317.09
7.1.320.0040.00917.22
7.1.310.0130.00017.23
7.1.300.0070.00717.18
7.1.290.0110.00317.20
7.1.280.0090.00517.01
7.1.270.0110.00217.14
7.1.260.0120.00217.20
7.1.250.0140.00017.11
7.1.240.0140.00017.18
7.1.230.0090.00417.23
7.1.220.0030.01017.23
7.1.210.0090.00517.05
7.1.200.0090.00517.09
7.1.190.0060.01017.24
7.1.180.0100.00317.04
7.1.170.0070.00717.13
7.1.160.0100.00317.14
7.1.150.0090.00517.14
7.1.140.0110.00417.04
7.1.130.0050.00917.03
7.1.120.0100.00317.04
7.1.110.0100.00316.88
7.1.100.0030.00516.95
7.1.90.0110.00217.08
7.1.80.0050.00917.19
7.1.70.0090.00416.92
7.1.60.0050.00817.05
7.1.50.0120.00317.18
7.1.40.0050.01017.08
7.1.30.0090.00617.15
7.1.20.0060.00916.93
7.1.10.0150.00017.00
7.1.00.0110.00316.93
7.0.330.0070.00716.82
7.0.320.0070.00716.88
7.0.310.0120.00216.86
7.0.300.0120.00216.84
7.0.290.0090.00416.72
7.0.280.0060.00616.77
7.0.270.0090.00516.70
7.0.260.0100.00316.96
7.0.250.0140.00017.06
7.0.240.0070.00716.98
7.0.230.0120.00416.98
7.0.220.0000.01316.75
7.0.210.0090.00516.98
7.0.200.0060.00616.74
7.0.190.0070.00716.77
7.0.180.0040.00916.70
7.0.170.0100.00316.80
7.0.160.0190.00016.65
7.0.150.0100.00416.68
7.0.140.0110.00316.82
7.0.130.0130.00016.99
7.0.120.0130.00016.93
7.0.110.0120.00216.82
7.0.100.0130.00016.75
7.0.90.0110.00216.87
7.0.80.0070.00716.57
7.0.70.0130.00016.91
7.0.60.0090.00416.72
7.0.50.0130.00016.73
7.0.40.0110.00417.02
7.0.30.0110.00316.70
7.0.20.0080.00516.82
7.0.10.0090.00416.71
7.0.00.0150.00016.70
5.6.400.0140.00015.56
5.6.390.0110.00315.42
5.6.380.0070.00715.61
5.6.370.0070.00715.49
5.6.360.0130.00015.66
5.6.350.0100.00315.59
5.6.340.0090.00415.57
5.6.330.0060.00615.43
5.6.320.0090.00415.73
5.6.310.0000.01315.40
5.6.300.0130.00015.51
5.6.290.0100.00315.52
5.6.280.0120.00015.49
5.6.270.0090.00415.61
5.6.260.0060.00615.56
5.6.250.0090.00315.69
5.6.240.0100.00315.47
5.6.230.0080.00415.72
5.6.220.0050.00815.67
5.6.210.0030.01015.74
5.6.200.0100.00315.76
5.6.190.0090.00315.71
5.6.180.0100.00315.74
5.6.170.0090.00415.60
5.6.160.0130.00015.60
5.6.150.0080.00415.77
5.6.140.0130.00015.80
5.6.130.0100.00515.75
5.6.120.0040.00915.71
5.6.110.0130.00015.68
5.6.100.0060.00615.59
5.6.90.0080.00415.59
5.6.80.0000.01215.67
5.6.70.0090.00315.70
5.6.60.0130.00015.71
5.6.50.0070.00515.69
5.6.40.0080.00415.68
5.6.30.0040.00815.56
5.6.20.0120.00015.51
5.6.10.0000.01215.54
5.6.00.0090.00415.50
5.5.380.0000.01215.61
5.5.370.0130.00015.78
5.5.360.0060.00615.24
5.5.350.0130.00015.59
5.5.340.0000.01315.42
5.5.330.0100.00315.42
5.5.320.0080.00515.29
5.5.310.0090.00415.42
5.5.300.0080.00415.57
5.5.290.0090.00515.63
5.5.280.0130.00015.29
5.5.270.0100.00315.46
5.5.260.0040.00815.46
5.5.250.0070.00715.62
5.5.240.0090.00315.47
5.5.230.0100.00315.64
5.5.220.0030.01015.40
5.5.210.0040.00915.57
5.5.200.0090.00315.33
5.5.190.0090.00315.46
5.5.180.0130.00015.52
5.5.170.0120.00015.25
5.5.160.0120.00015.25
5.5.150.0000.01215.39
5.5.140.0100.00215.11
5.5.130.0060.00615.14
5.5.120.0120.00015.40
5.5.110.0120.00015.32
5.5.100.0120.00015.64
5.5.90.0080.00415.67
5.5.80.0090.00315.59
5.5.70.0120.00015.47
5.5.60.0100.00315.38
5.5.50.0120.00015.38
5.5.40.0000.01215.32
5.5.30.0120.00015.37
5.5.20.0040.00815.45
5.5.10.0120.00015.41
5.5.00.0090.00315.56
5.4.450.0100.00012.64
5.4.440.0000.01012.34
5.4.430.0050.00512.56
5.4.420.0100.00012.34
5.4.410.0090.00012.27
5.4.400.0100.00012.39
5.4.390.0100.00012.40
5.4.380.0070.00412.20
5.4.370.0070.00412.27
5.4.360.0100.00012.44
5.4.350.0070.00312.41
5.4.340.0040.00712.50
5.4.330.0070.00512.41
5.4.320.0000.01012.64
5.4.310.0050.00612.57
5.4.300.0050.00512.29
5.4.290.0070.00312.43
5.4.280.0090.00212.64
5.4.270.0100.00012.35
5.4.260.0070.00412.32
5.4.250.0050.00512.40
5.4.240.0100.00012.27
5.4.230.0090.00312.21
5.4.220.0070.00312.24
5.4.210.0040.00712.24
5.4.200.0050.00512.31
5.4.190.0050.00512.21
5.4.180.0080.00312.24
5.4.170.0080.00312.15
5.4.160.0100.00012.28
5.4.150.0060.00612.27
5.4.140.0080.00312.36
5.4.130.0080.00312.46
5.4.120.0030.00712.28
5.4.110.0080.00312.22
5.4.100.0100.00012.57
5.4.90.0070.00312.40
5.4.80.0070.00212.33
5.4.70.0100.00012.48
5.4.60.0020.00712.30
5.4.50.0070.00312.21
5.4.40.0070.00312.36
5.4.30.0070.00312.40
5.4.20.0100.00012.39
5.4.10.0100.00012.27
5.4.00.0080.00212.15
5.3.290.0100.00012.93
5.3.280.0080.00212.88
5.3.270.0040.00812.87
5.3.260.0090.00312.68
5.3.250.0080.00412.73
5.3.240.0060.00612.53
5.3.230.0040.00712.87
5.3.220.0100.00312.72
5.3.210.0090.00312.81
5.3.200.0000.01112.59
5.3.190.0080.00312.61
5.3.180.0000.01112.94
5.3.170.0080.00313.00
5.3.160.0030.00712.71
5.3.150.0110.00012.76
5.3.140.0050.00512.66
5.3.130.0070.00312.71
5.3.120.0050.00512.83
5.3.110.0110.00012.88
5.3.100.0060.00612.82
5.3.90.0050.00512.92
5.3.80.0050.00512.74
5.3.70.0060.00312.73
5.3.60.0070.00212.63
5.3.50.0100.00012.72
5.3.40.0100.00012.72
5.3.30.0090.00012.63
5.3.20.0030.00612.56
5.3.10.0090.00012.27
5.3.00.0070.00212.33
5.2.170.0090.00011.76
5.2.160.0040.00411.96
5.2.150.0000.00811.90
5.2.140.0040.00411.87
5.2.130.0050.00311.81
5.2.120.0060.00311.57
5.2.110.0030.00611.65
5.2.100.0060.00311.84
5.2.90.0040.00411.77
5.2.80.0000.00911.44
5.2.70.0060.00311.71
5.2.60.0040.00411.59
5.2.50.0060.00211.59
5.2.40.0040.00411.61
5.2.30.0080.00011.73
5.2.20.0080.00011.40
5.2.10.0000.00811.61
5.2.00.0040.00411.47
5.1.60.0040.00410.84
5.1.50.0040.00410.88
5.1.40.0070.00010.77
5.1.30.0070.00011.07
5.1.20.0070.00010.90
5.1.10.0070.00010.69
5.1.00.0090.00010.89
5.0.50.0060.00010.19
5.0.40.0030.0039.68
5.0.30.0060.0009.60
5.0.20.0030.0039.95
5.0.10.0060.0009.61
5.0.00.0040.0029.75
4.4.90.0020.0029.60
4.4.80.0020.0029.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.0030.0009.60
4.4.20.0040.0009.60
4.4.10.0040.0009.60
4.4.00.0040.0009.60
4.3.110.0040.0009.60
4.3.100.0000.0049.60
4.3.90.0040.0009.60
4.3.80.0020.0029.60
4.3.70.0040.0009.60
4.3.60.0040.0009.60
4.3.50.0000.0049.60
4.3.40.0040.0009.60
4.3.30.0000.0039.60
4.3.20.0000.0039.60
4.3.10.0000.0039.60
4.3.00.0030.0009.60

preferences:
69.62 ms | 403 KiB | 5 Q