3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Test { public function __toString(): void { } }

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.0090.00019.63
8.3.140.0040.00416.61
8.3.130.0060.00618.54
8.3.120.0040.00420.50
8.3.110.0080.00020.94
8.3.100.0060.00320.34
8.3.90.0070.01018.17
8.3.80.0060.00318.43
8.3.70.0090.01216.58
8.3.60.0040.01818.55
8.3.50.0070.01024.49
8.3.40.0090.00918.61
8.3.30.0100.00718.54
8.3.20.0040.00421.73
8.3.10.0000.00721.84
8.3.00.0000.00823.56
8.2.260.0090.00616.34
8.2.250.0130.00616.41
8.2.240.0050.00217.05
8.2.230.0000.01022.58
8.2.220.0090.00024.06
8.2.210.0040.00426.77
8.2.200.0030.00718.04
8.2.190.0100.01018.16
8.2.180.0000.01417.93
8.2.170.0110.00418.96
8.2.160.0080.00822.96
8.2.150.0080.00025.66
8.2.140.0050.00324.66
8.2.130.0070.00026.16
8.2.120.0060.00319.76
8.2.110.0030.00620.47
8.2.100.0060.00617.66
8.2.90.0030.00517.63
8.2.80.0040.00417.97
8.2.70.0000.00817.50
8.2.60.0040.00417.68
8.2.50.0050.00317.55
8.2.40.0040.00417.62
8.2.30.0000.00719.09
8.2.20.0040.00417.98
8.2.10.0070.00020.79
8.2.00.0000.00819.05
8.1.300.0030.00617.84
8.1.290.0090.00030.84
8.1.280.0070.01025.92
8.1.270.0060.00323.99
8.1.260.0030.00626.35
8.1.250.0040.00428.09
8.1.240.0030.00622.42
8.1.230.0110.00019.01
8.1.220.0090.00017.74
8.1.210.0030.00618.77
8.1.200.0060.00317.23
8.1.190.0050.00317.11
8.1.180.0030.00518.10
8.1.170.0070.00017.62
8.1.160.0050.00219.00
8.1.150.0050.00318.62
8.1.140.0030.00518.75
8.1.130.0040.00417.32
8.1.120.0000.00717.22
8.1.110.0000.00817.32
8.1.100.0080.00017.22
8.1.90.0000.00717.30
8.1.80.0000.00817.21
8.1.70.0030.00317.38
8.1.60.0070.00017.41
8.1.50.0030.00517.34
8.1.40.0030.00617.41
8.1.30.0040.00417.41
8.1.20.0040.00417.42
8.1.10.0070.00417.40
8.1.00.0050.00317.16
8.0.300.0070.00019.77
8.0.290.0080.00316.63
8.0.280.0030.00318.18
8.0.270.0040.00416.74
8.0.260.0030.00316.68
8.0.250.0000.01016.76
8.0.240.0000.00816.79
8.0.230.0030.00316.79
8.0.220.0000.00616.82
8.0.210.0070.00016.81
8.0.200.0000.00716.85
8.0.190.0040.00416.76
8.0.180.0070.00016.88
8.0.170.0040.00416.75
8.0.160.0000.00716.94
8.0.150.0000.00716.83
8.0.140.0040.00416.79
8.0.130.0040.00413.30
8.0.120.0070.00016.75
8.0.110.0030.00316.89
8.0.100.0070.00016.74
8.0.90.0030.00516.92
8.0.80.0100.00616.86
8.0.70.0030.00516.95
8.0.60.0020.00516.66
8.0.50.0040.00416.75
8.0.30.0110.00816.93
8.0.20.0090.00916.92
8.0.10.0100.01316.97
8.0.00.0080.01116.88
7.4.330.0050.00316.14
7.4.320.0060.00016.47
7.4.300.0080.00016.36
7.4.290.0030.00316.26
7.4.280.0040.00816.34
7.4.270.0060.00016.37
7.4.260.0000.00816.36
7.4.250.0000.00716.27
7.4.240.0070.00016.37
7.4.230.0080.00016.38
7.4.220.0030.00316.41
7.4.210.0080.00616.44
7.4.200.0030.00316.36
7.4.160.0080.00616.55
7.4.150.0100.01016.43
7.4.140.0000.01516.39
7.4.130.0120.00816.26
7.4.120.0040.01216.28
7.4.110.0110.00716.31
7.4.100.0110.00716.36
7.4.90.0100.00916.25
7.4.80.0150.00716.25
7.4.70.0130.00716.21
7.4.60.0170.00816.27
7.4.50.0120.01216.23
7.4.40.0140.00916.27
7.4.30.0150.00816.23
7.4.20.0150.00816.26
7.4.10.0130.00916.28
7.4.00.0080.01116.25
7.3.330.0030.00316.19
7.3.320.0000.00513.03
7.3.310.0000.00716.16
7.3.300.0030.00316.18
7.3.290.0080.00716.15
7.3.280.0070.01016.16
7.3.270.0030.01016.18
7.3.260.0040.01416.22
7.3.250.0070.01016.11
7.3.240.0120.00616.36
7.3.230.0080.01016.25
7.3.220.0080.01016.22
7.3.210.0130.00616.25
7.3.200.0120.00916.26
7.3.190.0120.00916.15
7.3.180.0130.01016.25
7.3.170.0150.00916.22
7.3.160.0140.01016.20
7.3.150.0130.01016.27
7.3.140.0150.01016.20
7.3.130.0160.00916.28
7.3.120.0130.01116.24
7.3.110.0120.01016.22
7.3.100.0140.00916.22
7.3.90.0130.01016.29
7.3.80.0140.00916.15
7.3.70.0130.01016.13
7.3.60.0120.00916.18
7.3.50.0110.01116.15
7.3.40.0130.00716.16
7.3.30.0100.01116.16
7.3.20.0120.01116.43
7.3.10.0120.00916.37
7.3.00.0150.00816.60
7.2.340.0120.00516.32
7.2.330.0050.01316.33
7.2.320.0120.00916.31
7.2.310.0180.00716.35
7.2.300.0160.01016.39
7.2.290.0140.00916.33
7.2.280.0140.00816.32
7.2.270.0130.01016.25
7.2.260.0170.00616.35
7.2.250.0090.01216.35
7.2.240.0160.00716.36
7.2.230.0120.01216.25
7.2.220.0130.00916.31
7.2.210.0130.00716.21
7.2.200.0150.00716.35
7.2.190.0110.01216.22
7.2.180.0120.01016.25
7.2.170.0100.01216.33
7.2.160.0110.01016.27
7.2.150.0160.01016.70
7.2.140.0140.00816.61
7.2.130.0170.00916.89
7.2.120.0130.01116.85
7.2.110.0130.01116.88
7.2.100.0120.01116.84
7.2.90.0100.01316.86
7.2.80.0180.00816.88
7.2.70.0160.00716.87
7.2.60.0160.00916.87
7.2.50.0170.00616.88
7.2.40.0160.00716.93
7.2.30.0140.01116.88
7.2.20.0140.01116.82
7.2.10.0150.00916.75
7.2.00.0160.00716.74
7.1.330.0080.00815.32
7.1.320.0280.00315.34
7.1.310.0060.01315.31
7.1.300.0000.01415.30
7.1.290.0130.00615.47
7.1.280.0030.01015.43
7.1.270.0140.00315.44
7.1.260.0110.01517.16
7.1.250.0090.01117.06
7.1.240.0140.00317.15
7.1.230.0070.01017.13
7.1.220.0030.01417.25
7.1.210.0060.00917.21
7.1.200.0070.00717.25
7.1.190.0090.00917.12
7.1.180.0060.00917.07
7.1.170.0060.00616.97
7.1.160.0090.00917.12
7.1.150.0130.00317.18
7.1.140.0100.01017.14
7.1.130.0070.00817.12
7.1.120.0120.00417.13
7.1.110.0030.01017.03
7.1.100.0110.00417.10
7.1.90.0050.00817.09
7.1.80.0040.01517.03
7.1.70.0070.00716.83
7.1.60.0080.00617.08
7.1.50.0070.00717.16
7.1.40.0030.01017.24
7.1.30.0120.00617.20
7.1.20.0090.00916.99
7.1.10.0070.01316.96
7.1.00.0080.00817.06
7.0.330.0170.00016.72
7.0.320.0070.00716.88
7.0.310.0100.00316.81
7.0.300.0070.01016.85
7.0.290.0090.00316.68
7.0.280.0060.00916.84
7.0.270.0040.01216.83
7.0.260.0070.00716.82
7.0.250.0100.00316.92
7.0.240.0070.00717.00
7.0.230.0030.00917.00
7.0.220.0030.01016.89
7.0.210.0030.01016.86
7.0.200.0110.00416.87
7.0.190.0070.00716.79
7.0.180.0050.00816.85
7.0.170.0000.01416.83
7.0.160.0060.01316.85
7.0.150.0130.00316.83
7.0.140.0100.00316.74
7.0.130.0020.01316.97
7.0.120.0070.00816.94
7.0.110.0080.00616.77
7.0.100.0120.00616.88
7.0.90.0100.00716.74
7.0.80.0200.00714.89
7.0.70.0000.01415.05
7.0.60.0140.01015.02
7.0.50.0100.00314.98
7.0.40.0070.01115.08
7.0.30.0270.00715.02
7.0.20.0090.00915.00
7.0.10.0090.00615.11
7.0.00.0070.00715.09
5.6.400.0080.00815.54
5.6.390.0100.01015.58
5.6.380.0070.00715.64
5.6.370.0090.00915.72
5.6.360.0070.01015.58
5.6.350.0090.00915.72
5.6.340.0090.00615.58
5.6.330.0040.01115.50
5.6.320.0000.01615.59
5.6.310.0060.00915.65
5.6.300.0090.01215.48
5.6.290.0070.00715.50
5.6.280.0110.00715.63
5.6.270.0080.01215.63
5.6.260.0070.01115.65
5.6.250.0060.00915.61
5.6.240.0120.00315.58
5.6.230.0130.00315.69
5.6.220.0120.00615.70
5.6.210.0070.00715.49
5.6.200.0000.01415.67
5.6.190.0070.00715.70
5.6.180.0080.01115.67
5.6.170.0160.00315.69
5.6.160.0160.00315.60
5.6.150.0100.01015.88
5.6.140.0160.00315.68
5.6.130.0100.01015.59
5.6.120.0090.00615.78
5.6.110.0040.01415.55
5.6.100.0070.00715.63
5.6.90.0140.00315.56
5.6.80.0060.01315.51
5.6.70.0040.01615.68
5.6.60.0060.01315.69
5.6.50.0060.01315.57
5.6.40.0070.01415.53
5.6.30.0040.01415.56
5.6.20.0090.00615.54
5.6.10.0080.01415.57
5.6.00.0030.01315.65
5.5.380.0130.01015.66
5.5.370.0190.00615.88
5.5.360.0170.01015.51
5.5.350.0150.00915.47
5.5.340.0090.01415.42
5.5.330.0180.01215.42
5.5.320.0220.00315.59
5.5.310.0160.01015.48
5.5.300.0230.00715.53
5.5.290.0100.01415.47
5.5.280.0140.00915.49
5.5.270.0180.00715.52
5.5.260.0130.01315.48
5.5.250.0100.01415.54
5.5.240.0240.00315.71
5.5.230.0230.00315.76
5.5.220.0250.00415.59
5.5.210.0240.00315.74
5.5.200.0240.00315.30
5.5.190.0200.00315.37
5.5.180.0170.01015.36
5.5.170.0140.01015.36
5.5.160.0170.01015.62
5.5.150.0180.01215.41
5.5.140.0240.00415.23
5.5.130.0160.01115.25
5.5.120.0190.00315.46
5.5.110.0070.01515.51
5.5.100.0190.01015.48
5.5.90.0230.00815.54
5.5.80.0160.01215.49
5.5.70.0190.00715.47
5.5.60.0100.01715.63
5.5.50.0110.01115.57
5.5.40.0140.01415.47
5.5.30.0180.00515.44
5.5.20.0140.01115.48
5.5.10.0210.00615.49
5.5.00.0170.01015.44
5.4.450.0100.01312.38
5.4.440.0140.00412.47
5.4.430.0130.00712.39
5.4.420.0150.00612.34
5.4.410.0120.00812.39
5.4.400.0180.00412.41
5.4.390.0140.00712.39
5.4.380.0170.00412.41
5.4.370.0160.00812.50
5.4.360.0080.01612.29
5.4.350.0160.00412.24
5.4.340.0160.00612.40
5.4.330.0120.01212.41
5.4.320.0140.00712.44
5.4.310.0110.01112.44
5.4.300.0160.00712.46
5.4.290.0120.00812.45
5.4.280.0080.01112.46
5.4.270.0140.00912.41
5.4.260.0140.01112.39
5.4.250.0130.01012.40
5.4.240.0130.00812.41
5.4.230.0130.01012.16
5.4.220.0200.00312.17
5.4.210.0160.00612.21
5.4.200.0170.00312.12
5.4.190.0210.00012.09
5.4.180.0180.00612.23
5.4.170.0130.00812.23
5.4.160.0120.00812.16
5.4.150.0170.00612.37
5.4.140.0100.01312.39
5.4.130.0170.00712.44
5.4.120.0140.00412.34
5.4.110.0060.01212.47
5.4.100.0180.00312.40
5.4.90.0120.01212.43
5.4.80.0150.00812.41
5.4.70.0100.00712.52
5.4.60.0130.00312.50
5.4.50.0180.00612.39
5.4.40.0160.00612.40
5.4.30.0170.00412.45
5.4.20.0130.00512.45
5.4.10.0140.00812.46
5.4.00.0140.00812.31
5.3.290.0120.01212.89
5.3.280.0140.00512.64
5.3.270.0150.00412.70
5.3.260.0150.00812.84
5.3.250.0130.00912.72
5.3.240.0100.01412.60
5.3.230.0060.01212.78
5.3.220.0140.01012.69
5.3.210.0130.00712.78
5.3.200.0160.00712.66
5.3.190.0140.00512.99
5.3.180.0150.00312.88
5.3.170.0080.01212.88
5.3.160.0080.00912.97
5.3.150.0120.01112.97
5.3.140.0140.01112.76
5.3.130.0100.01012.76
5.3.120.0070.01412.79
5.3.110.0210.00312.91
5.3.100.0100.01012.89
5.3.90.0090.00912.83
5.3.80.0100.01012.88
5.3.70.0110.01112.71
5.3.60.0040.01512.76
5.3.50.0130.01012.68
5.3.40.0150.00612.85
5.3.30.0080.01312.82
5.3.20.0210.00412.78
5.3.10.0130.01012.45
5.3.00.0140.01112.48
5.2.170.0110.00512.05
5.2.160.0100.00711.92
5.2.150.0050.01111.72
5.2.140.0120.00611.85
5.2.130.0100.00711.71
5.2.120.0130.00811.77
5.2.110.0110.00711.70
5.2.100.0200.00011.72
5.2.90.0060.01612.00
5.2.80.0150.00711.72
5.2.70.0110.00711.68
5.2.60.0180.00411.57
5.2.50.0150.00311.87
5.2.40.0110.00711.85
5.2.30.0070.01311.91
5.2.20.0110.00811.67
5.2.10.0100.01011.53
5.2.00.0060.00911.53
5.1.60.0040.01111.53
5.1.50.0040.00911.53
5.1.40.0060.00911.53
5.1.30.0040.01211.53
5.1.20.0080.00911.53
5.1.10.0130.00611.53
5.1.00.0150.00311.53
5.0.50.0040.00711.53
5.0.40.0080.00511.53
5.0.30.0140.00011.53
5.0.20.0090.00511.53
5.0.10.0070.00711.53
5.0.00.0030.01011.53
4.4.90.0120.00011.53
4.4.80.0000.00911.53
4.4.70.0100.00011.53
4.4.60.0090.00011.53
4.4.50.0050.00511.53
4.4.40.0050.00511.53
4.4.30.0040.00411.53
4.4.20.0100.00011.53
4.4.10.0040.00411.53
4.4.00.0030.00411.53
4.3.110.0000.00611.53
4.3.100.0050.00211.53
4.3.90.0050.00211.53
4.3.80.0060.00311.53
4.3.70.0050.00511.53
4.3.60.0100.00011.53
4.3.50.0060.00311.53
4.3.40.0020.00511.53
4.3.30.0040.00411.53
4.3.20.0050.00511.53
4.3.10.0000.00611.53
4.3.00.0060.00211.53

preferences:
36.59 ms | 403 KiB | 5 Q