3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public string $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.0110.00418.87
8.4.10.0060.00921.70
8.3.150.0110.00720.54
8.3.140.0000.00816.64
8.3.130.0100.00718.34
8.3.120.0040.00418.69
8.3.110.0030.00620.94
8.3.100.0070.00416.28
8.3.90.0070.00726.77
8.3.80.0030.00616.38
8.3.70.0150.00416.58
8.3.60.0120.00316.50
8.3.50.0070.01018.18
8.3.40.0170.00020.29
8.3.30.0070.00718.46
8.3.20.0000.00724.18
8.3.10.0070.00024.66
8.3.00.0040.00426.16
8.2.270.0110.00418.72
8.2.260.0080.00018.05
8.2.250.0080.00018.47
8.2.240.0060.00318.88
8.2.230.0070.00322.58
8.2.220.0060.00324.06
8.2.210.0040.00426.77
8.2.200.0060.00318.04
8.2.190.0090.00616.58
8.2.180.0040.01125.92
8.2.170.0070.00722.96
8.2.160.0000.01822.96
8.2.150.0040.00425.66
8.2.140.0070.00024.66
8.2.130.0070.00026.16
8.2.120.0000.00720.64
8.2.110.0030.00622.25
8.2.100.0100.00319.64
8.2.90.0050.00317.50
8.2.80.0000.00818.66
8.2.70.0030.00617.91
8.2.60.0000.00817.50
8.2.50.0030.00518.05
8.2.40.0050.00218.09
8.2.30.0000.00717.84
8.2.20.0070.00019.02
8.2.10.0000.00717.91
8.2.00.0000.00819.13
8.1.310.0030.00618.20
8.1.300.0040.00418.21
8.1.290.0030.00630.84
8.1.280.0120.00325.92
8.1.270.0080.00024.66
8.1.260.0060.00326.35
8.1.250.0040.00428.09
8.1.240.0190.00320.29
8.1.230.0000.01117.63
8.1.220.0040.00417.74
8.1.210.0050.00318.77
8.1.200.0040.00417.13
8.1.190.0030.00517.10
8.1.180.0000.00818.10
8.1.170.0030.00517.62
8.1.160.0050.00218.81
8.1.150.0040.00418.50
8.1.140.0000.00717.32
8.1.130.0030.00318.81
8.1.120.0070.00017.23
8.1.110.0000.00717.25
8.1.100.0040.01217.32
8.1.90.0130.00317.14
8.1.80.0160.00017.29
8.1.70.0130.00217.19
8.1.60.0070.01017.28
8.1.50.0100.00717.25
8.1.40.0180.00017.17
8.1.30.0130.00517.42
8.1.20.0110.00717.33
8.1.10.0110.00717.22
8.1.00.0120.00617.29
8.0.300.0040.00418.77
8.0.290.0030.00516.58
8.0.280.0000.00818.31
8.0.270.0070.00016.61
8.0.260.0000.00618.42
8.0.250.0030.00316.72
8.0.240.0030.00316.75
8.0.230.0100.00516.78
8.0.220.0160.00316.61
8.0.210.0030.01116.76
8.0.200.0120.00416.66
8.0.190.0050.01116.68
8.0.180.0100.00616.74
8.0.170.0160.00016.80
8.0.160.0150.00016.60
8.0.150.0070.00716.61
8.0.140.0080.00816.61
8.0.130.0110.00416.73
8.0.120.0050.01016.63
8.0.110.0120.00216.73
8.0.100.0100.00516.66
8.0.90.0120.00216.77
8.0.80.0100.00516.57
8.0.70.0070.00616.63
8.0.60.0060.00416.40
8.0.50.0040.00816.72
8.0.30.0100.00016.65
8.0.20.0110.00016.79
8.0.10.0120.00216.70
8.0.00.0110.00416.89
7.4.330.0000.00615.55
7.4.320.0030.00316.39
7.4.300.0040.00916.45
7.4.290.0040.00616.41
7.4.280.0070.00716.38
7.4.270.0090.00616.35
7.4.260.0120.00016.37
7.4.250.0030.00716.38
7.4.240.0100.00016.31
7.4.230.0050.00516.27
7.4.220.0050.00516.29
7.4.210.0070.00516.32
7.4.200.0060.00616.31
7.4.190.0120.00016.48
7.4.180.0060.00316.36
7.4.160.0060.00315.84
7.4.150.0040.00416.16
7.4.140.0100.00016.14
7.4.130.0070.00515.98
7.4.120.0030.00615.96
7.4.110.0060.00215.95
7.4.100.0000.00916.25
7.4.90.0000.00816.13
7.4.80.0080.00216.03
7.4.70.0000.00815.86
7.4.60.0090.00015.94
7.4.50.0030.00515.79
7.4.40.0040.00416.13
7.4.30.0050.00515.93
7.4.20.0060.00316.15
7.4.10.0000.00816.04
7.4.00.0080.00015.72
7.3.330.0040.01115.94
7.3.320.0110.00416.23
7.3.310.0050.01016.13
7.3.300.0100.00516.26
7.3.290.0110.00316.12
7.3.280.0150.00016.15
7.3.270.0120.00316.16
7.3.260.0080.00616.17
7.3.250.0120.00316.07
7.3.240.0120.00316.04
7.3.230.0150.00015.98
7.3.220.0070.00716.18
7.3.210.0100.00516.02
7.3.200.0100.00515.95
7.3.190.0100.00416.08
7.3.180.0120.00216.12
7.3.170.0110.00416.19
7.3.160.0090.00516.19
7.3.150.0060.00916.00
7.3.140.0050.01016.16
7.3.130.0110.00415.91
7.3.120.0110.00316.06
7.3.110.0120.00215.96
7.3.100.0090.00616.13
7.3.90.0100.00316.20
7.3.80.0140.00016.09
7.3.70.0050.00916.21
7.3.60.0110.00416.16
7.3.50.0050.00916.26
7.3.40.0140.00016.04
7.3.30.0070.00816.22
7.3.20.0090.00618.02
7.3.10.0150.00017.83
7.3.00.0090.00618.07
7.2.340.0100.00416.14
7.2.330.0150.00015.91
7.2.320.0080.00616.12
7.2.310.0150.00015.95
7.2.300.0120.00316.19
7.2.290.0110.00316.07
7.2.280.0100.00416.15
7.2.270.0110.00315.96
7.2.260.0120.00216.20
7.2.250.0090.00616.10
7.2.240.0120.00316.02
7.2.230.0110.00416.16
7.2.220.0140.00016.05
7.2.210.0110.00316.07
7.2.200.0160.00016.28
7.2.190.0140.00016.32
7.2.180.0150.00016.15
7.2.170.0120.00216.29
7.2.160.0100.00416.22
7.2.150.0120.00318.16
7.2.140.0140.00018.02
7.2.130.0150.00018.25
7.2.120.0120.00218.32
7.2.110.0130.00318.30
7.2.100.0150.00018.12
7.2.90.0100.00518.03
7.2.80.0100.00518.18
7.2.70.0070.00718.08
7.2.60.0090.00518.20
7.2.50.0070.00718.16
7.2.40.0110.00418.24
7.2.30.0090.00618.09
7.2.20.0070.00718.36
7.2.10.0120.00318.31
7.2.00.0000.01418.05
7.1.330.0110.00217.07
7.1.320.0070.00717.06
7.1.310.0100.00217.00
7.1.300.0140.00017.14
7.1.290.0000.01416.92
7.1.280.0090.00417.25
7.1.270.0090.00517.13
7.1.260.0070.00717.14
7.1.250.0140.00016.97
7.1.240.0130.00016.93
7.1.230.0070.00717.16
7.1.220.0050.00917.05
7.1.210.0090.00516.93
7.1.200.0100.00316.92
7.1.190.0140.00017.14
7.1.180.0140.00017.09
7.1.170.0100.00316.84
7.1.160.0050.00916.82
7.1.150.0090.00616.85
7.1.140.0110.00417.08
7.1.130.0090.00517.13
7.1.120.0130.00216.82
7.1.110.0090.00516.87
7.1.100.0140.00016.81
7.1.90.0140.00016.91
7.1.80.0050.00916.99
7.1.70.0070.00716.75
7.1.60.0120.00217.13
7.1.50.0080.00516.84
7.1.40.0100.00317.09
7.1.30.0070.00716.91
7.1.20.0110.00316.89
7.1.10.0050.00916.98
7.1.00.0130.00016.96
7.0.330.0140.00016.68
7.0.320.0090.00516.91
7.0.310.0090.00516.84
7.0.300.0070.00716.75
7.0.290.0080.00516.68
7.0.280.0060.00616.58
7.0.270.0100.00316.72
7.0.260.0040.00916.59
7.0.250.0090.00516.85
7.0.240.0070.00716.95
7.0.230.0110.00317.05
7.0.220.0140.00016.71
7.0.210.0030.01016.82
7.0.200.0070.00716.86
7.0.190.0140.00016.84
7.0.180.0110.00217.04
7.0.170.0080.00516.95
7.0.160.0050.01016.73
7.0.150.0040.00916.67
7.0.140.0050.00916.94
7.0.130.0130.00016.88
7.0.120.0130.00017.02
7.0.110.0100.00316.74
7.0.100.0100.00316.94
7.0.90.0070.00716.74
7.0.80.0140.00016.51
7.0.70.0110.00316.69
7.0.60.0130.00016.67
7.0.50.0000.01316.58
7.0.40.0080.00516.81
7.0.30.0050.00816.79
7.0.20.0110.00316.68
7.0.10.0140.00016.89
7.0.00.0060.00616.71
5.6.400.0080.00515.39
5.6.390.0090.00415.39
5.6.380.0090.00515.46
5.6.370.0050.00915.52
5.6.360.0130.00015.56
5.6.350.0100.00315.43
5.6.340.0100.00315.43
5.6.330.0130.00015.43
5.6.320.0100.00415.67
5.6.310.0100.00315.53
5.6.300.0130.00015.38
5.6.290.0100.00315.55
5.6.280.0110.00215.66
5.6.270.0060.00615.46
5.6.260.0060.00615.69
5.6.250.0080.00415.54
5.6.240.0130.00015.63
5.6.230.0080.00515.61
5.6.220.0040.00915.45
5.6.210.0050.00915.62
5.6.200.0080.00515.72
5.6.190.0080.00515.67
5.6.180.0110.00315.79
5.6.170.0030.01015.69
5.6.160.0090.00415.56
5.6.150.0130.00015.78
5.6.140.0040.00915.53
5.6.130.0100.00315.64
5.6.120.0130.00015.53
5.6.110.0100.00315.56
5.6.100.0070.00715.56
5.6.90.0080.00615.57
5.6.80.0090.00515.62
5.6.70.0100.00315.74
5.6.60.0040.00815.48
5.6.50.0130.00015.52
5.6.40.0110.00215.57
5.6.30.0060.00615.49
5.6.20.0060.00615.40
5.6.10.0100.00315.41
5.6.00.0090.00515.52
5.5.380.0100.00315.61
5.5.370.0070.00715.65
5.5.360.0070.00715.42
5.5.350.0100.00315.54
5.5.340.0070.00715.61
5.5.330.0100.00315.32
5.5.320.0140.00015.49
5.5.310.0120.00415.42
5.5.300.0110.00415.30
5.5.290.0110.00415.40
5.5.280.0110.00415.41
5.5.270.0070.00715.30
5.5.260.0120.00315.59
5.5.250.0050.01015.69
5.5.240.0100.00315.49
5.5.230.0110.00315.52
5.5.220.0040.00815.73
5.5.210.0130.00015.40
5.5.200.0110.00415.50
5.5.190.0110.00215.16
5.5.180.0000.01315.55
5.5.170.0110.00315.25
5.5.160.0090.00315.37
5.5.150.0090.00515.25
5.5.140.0100.00315.13
5.5.130.0090.00515.40
5.5.120.0110.00215.29
5.5.110.0000.01415.42
5.5.100.0080.00415.43
5.5.90.0060.00615.47
5.5.80.0060.00615.59
5.5.70.0120.00015.69
5.5.60.0130.00015.32
5.5.50.0090.00315.54
5.5.40.0000.01315.38
5.5.30.0080.00415.34
5.5.20.0100.00315.46
5.5.10.0050.00915.46
5.5.00.0090.00415.50
5.4.450.0050.00512.50
5.4.440.0050.00512.40
5.4.430.0100.00212.50
5.4.420.0110.00012.44
5.4.410.0110.00012.19
5.4.400.0080.00312.34
5.4.390.0110.00012.38
5.4.380.0070.00412.34
5.4.370.0120.00012.38
5.4.360.0090.00312.21
5.4.350.0070.00412.52
5.4.340.0080.00312.52
5.4.330.0090.00312.34
5.4.320.0110.00012.50
5.4.310.0050.00512.49
5.4.300.0080.00312.41
5.4.290.0100.00012.27
5.4.280.0100.00012.19
5.4.270.0110.00012.39
5.4.260.0100.00012.23
5.4.250.0110.00012.20
5.4.240.0090.00212.44
5.4.230.0080.00312.18
5.4.220.0090.00212.18
5.4.210.0110.00012.28
5.4.200.0080.00311.93
5.4.190.0080.00312.32
5.4.180.0050.00511.91
5.4.170.0080.00312.23
5.4.160.0050.00512.21
5.4.150.0110.00012.39
5.4.140.0110.00012.32
5.4.130.0050.00512.14
5.4.120.0070.00412.40
5.4.110.0070.00412.26
5.4.100.0040.00712.30
5.4.90.0100.00012.30
5.4.80.0040.00812.48
5.4.70.0070.00412.48
5.4.60.0100.00012.32
5.4.50.0080.00312.14
5.4.40.0080.00312.35
5.4.30.0070.00412.40
5.4.20.0100.00012.24
5.4.10.0070.00312.21
5.4.00.0050.00512.26
5.3.290.0090.00212.67
5.3.280.0080.00312.51
5.3.270.0000.01212.58
5.3.260.0080.00312.90
5.3.250.0040.00712.60
5.3.240.0110.00012.68
5.3.230.0060.00512.74
5.3.220.0000.01112.55
5.3.210.0110.00012.77
5.3.200.0050.00512.78
5.3.190.0080.00312.55
5.3.180.0070.00312.93
5.3.170.0110.00012.80
5.3.160.0110.00012.80
5.3.150.0080.00412.74
5.3.140.0090.00212.71
5.3.130.0120.00012.88
5.3.120.0110.00012.89
5.3.110.0060.00612.65
5.3.100.0100.00012.65
5.3.90.0110.00012.93
5.3.80.0070.00312.82
5.3.70.0100.00012.57
5.3.60.0060.00412.87
5.3.50.0080.00312.84
5.3.40.0100.00012.57
5.3.30.0050.00512.81
5.3.20.0080.00312.79
5.3.10.0070.00312.57
5.3.00.0000.01012.36
5.2.170.0040.00411.60
5.2.160.0060.00311.88
5.2.150.0050.00311.74
5.2.140.0040.00411.78
5.2.130.0040.00411.74
5.2.120.0040.00511.67
5.2.110.0030.00611.83
5.2.100.0050.00511.61
5.2.90.0050.00311.88
5.2.80.0060.00311.54
5.2.70.0060.00311.64
5.2.60.0050.00311.63
5.2.50.0080.00011.82
5.2.40.0060.00311.63
5.2.30.0060.00211.48
5.2.20.0060.00311.37
5.2.10.0080.00011.51
5.2.00.0000.00811.24
5.1.60.0080.00010.59
5.1.50.0050.00310.59
5.1.40.0050.00211.00
5.1.30.0040.00410.85
5.1.20.0050.00210.72
5.1.10.0070.00010.69
5.1.00.0000.00810.79
5.0.50.0000.0069.85
5.0.40.0000.00710.02
5.0.30.0030.0039.79
5.0.20.0060.0009.66
5.0.10.0040.0029.60
5.0.00.0000.0069.60
4.4.90.0040.0009.60
4.4.80.0000.0039.60
4.4.70.0000.0039.60
4.4.60.0030.0009.60
4.4.50.0030.0009.60
4.4.40.0040.0009.60
4.4.30.0000.0039.60
4.4.20.0000.0049.60
4.4.10.0040.0009.60
4.4.00.0040.0009.60
4.3.110.0030.0009.60
4.3.100.0030.0009.60
4.3.90.0000.0049.60
4.3.80.0000.0049.60
4.3.70.0000.0039.60
4.3.60.0040.0009.60
4.3.50.0040.0009.60
4.3.40.0040.0009.60
4.3.30.0030.0009.60
4.3.20.0010.0019.60
4.3.10.0000.0039.60
4.3.00.0000.0039.60

preferences:
31.54 ms | 403 KiB | 5 Q