3v4l.org

run code in 300+ PHP versions simultaneously
<?php trait StaticExample { public static function doSomething() { return 'Doing something'; } } echo StaticExample::doSomething();

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.3.60.0110.01118.68
8.3.50.0190.01321.14
8.3.40.0120.00318.61
8.3.30.0090.00918.61
8.3.20.0050.00318.48
8.3.10.0080.00020.48
8.3.00.0090.00619.25
8.2.180.0070.00718.16
8.2.170.0110.00422.96
8.2.160.0030.01022.25
8.2.150.0000.00824.18
8.2.140.0070.00024.66
8.2.130.0080.00026.16
8.2.120.0100.00320.99
8.2.110.0090.00021.11
8.2.100.0090.00317.91
8.2.90.0050.00219.27
8.2.80.0000.00718.04
8.2.70.0030.00517.63
8.2.60.0070.00018.04
8.2.50.0040.00418.07
8.2.40.0050.00318.22
8.2.30.0000.00919.84
8.2.20.0040.00417.65
8.2.10.0040.00417.61
8.2.00.0000.00917.61
8.1.280.0130.00725.92
8.1.270.0000.00723.99
8.1.260.0030.00626.35
8.1.250.0070.00028.09
8.1.240.0110.00020.51
8.1.230.0040.00720.96
8.1.220.0060.00318.77
8.1.210.0030.00618.98
8.1.200.0000.00917.22
8.1.190.0060.00317.27
8.1.180.0020.00518.10
8.1.170.0000.00718.76
8.1.160.0000.00718.67
8.1.150.0040.00418.55
8.1.140.0000.00817.30
8.1.130.0030.00317.70
8.1.120.0050.00217.31
8.1.110.0000.00717.28
8.1.100.0000.00817.33
8.1.90.0070.00017.32
8.1.80.0050.00217.32
8.1.70.0000.00617.34
8.1.60.0040.00417.42
8.1.50.0080.00017.41
8.1.40.0000.00817.50
8.1.30.0050.00217.50
8.1.20.0040.00417.64
8.1.10.0040.00417.48
8.1.00.0040.00417.50
8.0.300.0000.00919.90
8.0.290.0060.00316.63
8.0.280.0040.00418.36
8.0.270.0030.00317.30
8.0.260.0070.00018.56
8.0.250.0070.00016.95
8.0.240.0000.01016.86
8.0.230.0030.00316.93
8.0.220.0050.00216.72
8.0.210.0040.00416.81
8.0.200.0040.00416.95
8.0.190.0000.00716.92
8.0.180.0070.00016.84
8.0.170.0070.00016.80
8.0.160.0040.00416.81
8.0.150.0040.00416.72
8.0.140.0000.00716.74
8.0.130.0030.00313.06
8.0.120.0000.00716.66
8.0.110.0050.00216.80
8.0.100.0000.00716.72
8.0.90.0070.00016.81
8.0.80.0180.00316.74
8.0.70.0030.00416.80
8.0.60.0040.00416.63
8.0.50.0030.00516.62
8.0.30.0120.00616.89
8.0.20.0160.00617.40
8.0.10.0050.00216.80
8.0.00.0080.00816.70
7.4.330.0000.00514.64
7.4.320.0060.00016.50
7.4.300.0060.00016.50
7.4.290.0030.00316.43
7.4.280.0000.00716.41
7.4.270.0030.00416.58
7.4.260.0030.00313.10
7.4.250.0080.00016.43
7.4.240.0070.00016.53
7.4.230.0050.00216.60
7.4.220.0160.00616.49
7.4.210.0050.01016.46
7.4.200.0030.00516.40
7.4.190.0070.00016.62
7.4.160.0090.01316.50
7.4.150.0070.01017.40
7.4.140.0100.01017.10
7.4.130.0110.01016.44
7.4.120.0130.00416.47
7.4.110.0160.00316.50
7.4.100.0150.00616.42
7.4.90.0180.00616.23
7.4.80.0090.00919.03
7.4.70.0110.01316.46
7.4.60.0110.00616.41
7.4.50.0080.00016.46
7.4.40.0070.00722.27
7.4.30.0120.00316.54
7.4.00.0040.01414.72
7.3.330.0050.00013.18
7.3.320.0030.00313.17
7.3.310.0080.00016.25
7.3.300.0070.00016.23
7.3.290.0070.00716.13
7.3.280.0090.00616.18
7.3.270.0130.01017.40
7.3.260.0130.01118.24
7.3.250.0090.01116.31
7.3.240.0130.00716.18
7.3.230.0030.01616.39
7.3.210.0070.01016.40
7.3.200.0100.00719.39
7.3.190.0150.00516.45
7.3.180.0070.00716.34
7.3.170.0030.01716.40
7.3.160.0160.00416.22
7.3.120.0070.00714.64
7.3.10.0080.00616.37
7.3.00.0100.00316.40
7.2.330.0120.00616.28
7.2.320.0030.01416.27
7.2.310.0080.01116.69
7.2.300.0000.01616.62
7.2.290.0070.01416.58
7.2.130.0090.00316.49
7.2.120.0080.00516.60
7.2.110.0060.00616.62
7.2.100.0040.00516.46
7.2.90.0030.00916.68
7.2.80.0050.00616.44
7.2.70.0060.01116.62
7.2.60.0040.00916.62
7.2.50.0080.00716.48
7.2.40.0080.00716.48
7.2.30.0100.00616.44
7.2.20.0120.00616.70
7.2.10.0100.01016.33
7.2.00.0080.00816.56
7.1.250.0050.00715.58
7.1.200.0000.01015.51
7.1.70.0000.00917.16
7.1.60.0030.00717.14
7.1.50.0070.01416.70
7.1.00.0070.05022.31
7.0.200.0030.01316.73
7.0.140.0030.07322.18
7.0.60.0170.03720.00
7.0.50.0070.05317.79
7.0.40.0130.05017.73
7.0.30.0200.07017.75
7.0.20.0070.07017.84
7.0.10.0130.07717.71
7.0.00.0030.04717.73
5.6.280.0100.06721.10
5.6.210.0070.08320.71
5.6.200.0030.05018.14
5.6.190.0070.06718.18
5.6.180.0200.06718.16
5.6.170.0170.07018.23
5.6.160.0030.08718.29
5.6.150.0130.07318.21
5.6.140.0130.08018.17
5.6.130.0200.07318.17
5.6.120.0070.08718.21
5.6.110.0030.08718.17
5.6.100.0000.04718.17
5.6.90.0070.04318.13
5.6.80.0030.07717.54
5.6.70.0070.05717.66
5.6.60.0070.03717.58
5.6.50.0130.07017.67
5.6.40.0030.08017.50
5.6.30.0000.06017.54
5.6.20.0000.07317.50
5.6.10.0070.06717.62
5.6.00.0130.04017.49
5.5.350.0030.08320.44
5.5.340.0130.08017.99
5.5.330.0130.05717.92
5.5.320.0100.07718.09
5.5.310.0100.07717.95
5.5.300.0030.05718.05
5.5.290.0070.05017.94
5.5.280.0070.08318.04
5.5.270.0130.04318.07
5.5.260.0030.07018.07
5.5.250.0100.08017.88
5.5.240.0130.07317.34
5.5.230.0100.08017.42
5.5.220.0100.07017.36
5.5.210.0100.08017.46
5.5.200.0000.06017.33
5.5.190.0000.07017.36
5.5.180.0030.07717.30
5.5.160.0030.04017.43
5.5.150.0030.03717.32
5.5.140.0030.03717.31
5.5.130.0000.04017.29
5.5.120.0030.03717.36
5.5.110.0000.04017.41
5.5.100.0000.04017.17
5.5.90.0000.04017.22
5.5.80.0070.03317.17
5.5.70.0000.04017.34
5.5.60.0000.04017.31
5.5.50.0070.03317.27
5.5.40.0000.03717.34
5.5.30.0030.03717.16
5.5.20.0000.04017.20
5.5.10.0000.04017.32
5.5.00.0000.04017.18
5.4.450.0070.07019.29
5.4.440.0070.08019.38
5.4.430.0200.06719.37
5.4.420.0000.05019.35
5.4.410.0000.05319.25
5.4.400.0100.08019.10
5.4.390.0100.07318.98
5.4.380.0070.06319.05
5.4.370.0000.07319.05
5.4.360.0100.07319.14
5.4.350.0030.08019.05
5.4.340.0030.07019.01
5.4.320.0030.04019.05
5.4.310.0000.04018.99
5.4.300.0000.04019.12
5.4.290.0070.03319.27
5.4.280.0070.03319.12
5.4.270.0030.03719.07
5.4.260.0030.04319.11
5.4.250.0030.07019.02
5.4.240.0030.03719.09
5.4.230.0030.03719.07
5.4.220.0030.03719.09
5.4.210.0030.03718.88
5.4.200.0000.04018.98
5.4.190.0100.03019.25
5.4.180.0100.03019.00
5.4.170.0000.04018.88
5.4.160.0030.03718.96
5.4.150.0030.03719.04
5.4.140.0000.03716.40
5.4.130.0070.03016.32
5.4.120.0030.03316.32
5.4.110.0030.03316.49
5.4.100.0070.03716.41
5.4.90.0070.03016.46
5.4.80.0070.03016.32
5.4.70.0000.03716.48
5.4.60.0030.03316.33
5.4.50.0000.04016.35
5.4.40.0030.07716.37
5.4.30.0070.07716.39
5.4.20.0100.06716.35
5.4.10.0000.07016.52
5.4.00.0000.05015.77
5.3.290.0000.04014.64
5.3.280.0000.04014.52
5.3.270.0030.03714.54
5.3.260.0070.03314.68
5.3.250.0030.03314.57
5.3.240.0070.03714.55
5.3.230.0030.04014.38
5.3.220.0070.03014.39
5.3.210.0070.03314.39
5.3.200.0100.03314.34
5.3.190.0030.03714.48
5.3.180.0070.03314.44
5.3.170.0170.03314.51
5.3.160.0030.03314.49
5.3.150.0030.04314.54
5.3.140.0030.03314.50
5.3.130.0130.07314.32
5.3.120.0030.03714.32
5.3.110.0000.08014.54
5.3.100.0000.04314.02
5.3.90.0030.04314.02
5.3.80.0000.04013.98
5.3.70.0030.07713.79
5.3.60.0070.04313.85
5.3.50.0100.04313.94
5.3.40.0030.04013.87
5.3.30.0100.03013.69
5.3.20.0030.04713.66
5.3.10.0070.07713.57
5.3.00.0070.07013.57
5.2.170.0130.05711.09
5.2.160.0030.05311.11
5.2.150.0030.03011.09
5.2.140.0070.02711.06
5.2.130.0070.06011.10
5.2.120.0100.06011.01
5.2.110.0070.05710.95
5.2.100.0100.04010.93
5.2.90.0070.05711.23
5.2.80.0030.04010.87
5.2.70.0070.05011.07
5.2.60.0030.06011.04
5.2.50.0070.03710.99
5.2.40.0070.05310.77
5.2.30.0000.06310.96
5.2.20.0030.04710.75
5.2.10.0070.04710.89
5.2.00.0100.03710.69
5.1.60.0000.06310.04
5.1.50.0030.0339.96
5.1.40.0030.0479.80
5.1.30.0000.06010.23
5.1.20.0000.06010.24
5.1.10.0030.04710.04
5.1.00.0100.04310.21
5.0.50.0030.0478.55
5.0.40.0000.0338.45
5.0.30.0030.0378.05
5.0.20.0030.0408.15
5.0.10.0070.0407.99
5.0.00.0030.0478.12
4.4.90.0070.0237.69
4.4.80.0000.0207.69
4.4.70.0030.0337.69
4.4.60.0030.0337.69
4.4.50.0000.0377.69
4.4.40.0000.0577.69
4.4.30.0000.0307.69
4.4.20.0000.0407.69
4.4.10.0000.0407.69
4.4.00.0130.0237.69
4.3.110.0000.0377.69
4.3.100.0200.0207.69
4.3.90.0030.0307.69
4.3.80.0030.0477.69
4.3.70.0000.0177.69
4.3.60.0030.0337.69
4.3.50.0030.0337.69
4.3.40.0000.0337.69
4.3.30.0030.0377.69
4.3.20.0000.0277.69
4.3.10.0000.0407.69
4.3.00.0070.0337.69

preferences:
39.51 ms | 401 KiB | 5 Q