3v4l.org

run code in 300+ PHP versions simultaneously
<?php trait TestTrait { public static function testStaticFunction() { return __CLASS__; } } class Tester { use TestTrait; } $tester = Tester::testStaticFunction();

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.0100.00318.43
8.3.50.0120.00721.27
8.3.40.0080.00818.64
8.3.30.0120.00618.42
8.3.20.0040.00418.39
8.3.10.0040.00420.41
8.3.00.0070.00317.25
8.2.180.0100.01018.16
8.2.170.0120.00322.96
8.2.160.0100.00322.11
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0040.00419.73
8.2.110.0100.01020.37
8.2.100.0110.00017.72
8.2.90.0040.00419.05
8.2.80.0040.00417.97
8.2.70.0030.01017.75
8.2.60.0050.00218.05
8.2.50.0060.00318.07
8.2.40.0040.00418.09
8.2.30.0030.00619.90
8.2.20.0050.00317.56
8.2.10.0080.00017.55
8.2.00.0060.00317.62
8.1.280.0160.00425.92
8.1.270.0000.00823.99
8.1.260.0000.00826.35
8.1.250.0050.00328.09
8.1.240.0100.00023.96
8.1.230.0030.00723.86
8.1.220.0000.01018.77
8.1.210.0000.00818.95
8.1.200.0050.00517.48
8.1.190.0070.00017.51
8.1.180.0040.00418.10
8.1.170.0070.00018.82
8.1.160.0000.00718.89
8.1.150.0000.00718.54
8.1.140.0030.00617.42
8.1.130.0030.00317.82
8.1.120.0040.00417.47
8.1.110.0040.00417.40
8.1.100.0050.00217.41
8.1.90.0000.00717.44
8.1.80.0050.00217.42
8.1.70.0030.00317.46
8.1.60.0080.00017.57
8.1.50.0000.00817.36
8.1.40.0040.00417.55
8.1.30.0040.00417.64
8.1.20.0030.00617.55
8.1.10.0050.00317.56
8.1.00.0000.00717.50
8.0.300.0070.00020.02
8.0.290.0040.00416.75
8.0.280.0000.00718.49
8.0.270.0000.00717.15
8.0.260.0000.00616.74
8.0.250.0040.00416.92
8.0.240.0030.00516.83
8.0.230.0030.00416.85
8.0.220.0070.00016.94
8.0.210.0040.00416.77
8.0.200.0030.00316.95
8.0.190.0040.00416.93
8.0.180.0000.00716.82
8.0.170.0090.00016.82
8.0.160.0070.00016.91
8.0.150.0060.00316.80
8.0.140.0100.00016.77
8.0.130.0060.00013.21
8.0.120.0070.00016.74
8.0.110.0060.00316.70
8.0.100.0000.00716.93
8.0.90.0030.00416.71
8.0.80.0040.01116.86
8.0.70.0040.00416.89
8.0.60.0000.00716.77
8.0.50.0020.00516.78
8.0.30.0080.01017.01
8.0.20.0060.01117.40
8.0.10.0080.00017.06
8.0.00.0160.00616.57
7.4.330.0070.00013.43
7.4.320.0040.00416.54
7.4.300.0000.00616.50
7.4.290.0000.00716.63
7.4.280.0040.00416.59
7.4.270.0030.00316.52
7.4.260.0040.00413.33
7.4.250.0040.00416.51
7.4.240.0040.00416.61
7.4.230.0000.00716.42
7.4.220.0090.00916.34
7.4.210.0100.00616.49
7.4.200.0000.00716.39
7.4.190.0030.00316.65
7.4.160.0090.00916.28
7.4.150.0070.01117.40
7.4.140.0110.00517.22
7.4.130.0080.00916.50
7.4.120.0050.01316.51
7.4.110.0100.00716.70
7.4.100.0120.00616.41
7.4.90.0090.00916.34
7.4.80.0160.00019.03
7.4.70.0060.01016.59
7.4.60.0000.01916.40
7.4.50.0060.00316.55
7.4.40.0090.00922.27
7.4.30.0120.00616.37
7.4.10.0150.00014.78
7.4.00.0060.00914.91
7.3.330.0000.00513.16
7.3.320.0000.00512.99
7.3.310.0030.00316.27
7.3.300.0000.00716.19
7.3.290.0070.01116.29
7.3.280.0060.01216.21
7.3.270.0130.00317.40
7.3.260.0100.00718.24
7.3.250.0150.00416.33
7.3.240.0070.01016.46
7.3.230.0100.00616.47
7.3.210.0130.00316.43
7.3.200.0030.01519.39
7.3.190.0170.00016.40
7.3.180.0070.01316.32
7.3.170.0120.00616.32
7.3.160.0070.00716.25
7.3.130.0070.01114.47
7.3.120.0080.00914.97
7.3.110.0060.00914.83
7.3.100.0090.00514.78
7.3.90.0050.00914.74
7.3.80.0030.00914.69
7.3.70.0060.00514.71
7.3.60.0040.00914.71
7.3.50.0030.01114.78
7.3.40.0070.00614.69
7.3.30.0060.00714.64
7.3.20.0040.00916.53
7.3.10.0070.00716.52
7.3.00.0060.00816.50
7.2.330.0060.01216.35
7.2.320.0070.01116.78
7.2.310.0000.01716.72
7.2.300.0120.00616.73
7.2.290.0100.00716.65
7.2.260.0100.01014.76
7.2.250.0090.00915.00
7.2.240.0090.00814.95
7.2.230.0060.01015.00
7.2.220.0060.00715.03
7.2.210.0040.00814.95
7.2.200.0060.00614.94
7.2.190.0080.00614.80
7.2.180.0070.00414.93
7.2.170.0080.00514.90
7.2.160.0060.00614.81
7.2.150.0050.00716.89
7.2.140.0060.00816.76
7.2.130.0070.00616.79
7.2.120.0040.00916.63
7.2.110.0090.00516.79
7.2.100.0080.00516.93
7.2.90.0060.00816.82
7.2.80.0050.01116.80
7.2.70.0030.00916.76
7.2.60.0080.00616.93
7.2.50.0070.00816.86
7.2.40.0040.01116.74
7.2.30.0070.00816.86
7.2.20.0120.00316.88
7.2.10.0060.01016.65
7.2.00.0020.01016.92
7.1.330.0060.00715.66
7.1.320.0060.00715.68
7.1.310.0070.00715.69
7.1.300.0040.01115.56
7.1.290.0030.01115.64
7.1.280.0040.00915.56
7.1.270.0060.00615.66
7.1.260.0030.00815.75
7.1.250.0020.01115.81
7.1.240.0000.00915.55
7.1.230.0060.00915.77
7.1.220.0090.00315.79
7.1.210.0090.00615.65
7.1.200.0040.00915.67
7.1.190.0070.00415.81
7.1.180.0030.01015.83
7.1.170.0040.00715.82
7.1.160.0030.00915.41
7.1.150.0090.00015.66
7.1.140.0030.01015.63
7.1.130.0030.00915.79
7.1.120.0000.01215.49
7.1.110.0070.00315.56
7.1.100.0030.01015.77
7.1.90.0040.00815.61
7.1.80.0060.00615.80
7.1.70.0070.00316.47
7.1.60.0070.01217.57
7.1.50.0050.01016.26
7.1.40.0000.01215.82
7.1.30.0080.00415.50
7.1.20.0040.01115.71
7.1.10.0060.00615.70
7.1.00.0060.02319.14
7.0.330.0070.00715.45
7.0.320.0100.00315.28
7.0.310.0100.00315.30
7.0.300.0110.00415.05
7.0.290.0110.00415.46
7.0.280.0080.00315.32
7.0.270.0060.00315.50
7.0.260.0070.00715.23
7.0.250.0060.00615.38
7.0.240.0070.00715.04
7.0.230.0060.00615.45
7.0.220.0090.00315.45
7.0.210.0030.01015.43
7.0.200.0100.00615.75
7.0.190.0050.00315.34
7.0.180.0030.00915.36
7.0.170.0000.01015.34
7.0.160.0070.00715.33
7.0.150.0110.00415.37
7.0.140.0070.03818.67
7.0.130.0000.01415.47
7.0.120.0000.00815.40
7.0.110.0090.00315.34
7.0.100.0080.00315.11
7.0.90.0070.01015.43
7.0.80.0030.01215.25
7.0.70.0030.00715.32
7.0.60.0090.03017.70
7.0.50.0070.03016.70
7.0.40.0060.02215.49
7.0.30.0050.04515.59
7.0.20.0030.03015.50
7.0.10.0050.02315.65
7.0.00.0080.02115.52
5.6.400.0060.00714.33
5.6.390.0070.00714.36
5.6.380.0050.00514.17
5.6.370.0070.00714.43
5.6.360.0000.01414.10
5.6.350.0000.00814.63
5.6.340.0040.00814.18
5.6.330.0080.00414.64
5.6.320.0110.00414.54
5.6.310.0000.01114.25
5.6.300.0030.01014.45
5.6.290.0070.01014.59
5.6.280.0050.04017.65
5.6.270.0040.00814.27
5.6.260.0070.00714.20
5.6.250.0030.01314.29
5.6.240.0030.01014.25
5.6.230.0170.00314.42
5.6.220.0040.00814.37
5.6.210.0080.03717.53
5.6.200.0060.03816.09
5.6.190.0020.02616.17
5.6.180.0060.02316.34
5.6.170.0080.04116.18
5.6.160.0060.04116.25
5.6.150.0100.03316.11
5.6.140.0020.02616.31
5.6.130.0100.03316.28
5.6.120.0130.03816.18
5.6.110.0020.04716.26
5.6.100.0080.03616.33
5.6.90.0060.02616.15
5.6.80.0050.02815.95
5.6.70.0090.04015.97
5.6.60.0070.04415.90
5.6.50.0050.02415.85
5.6.40.0070.04115.90
5.6.30.0050.03415.87
5.6.20.0060.03015.86
5.6.10.0050.04415.86
5.6.00.0030.04715.90
5.5.380.0090.00614.00
5.5.370.0100.01014.27
5.5.360.0040.01114.21
5.5.350.0100.02717.24
5.5.340.0060.04316.00
5.5.330.0050.03916.15
5.5.320.0080.03616.22
5.5.310.0070.02516.12
5.5.300.0080.04116.09
5.5.290.0080.02816.24
5.5.280.0080.03816.12
5.5.270.0070.04515.99
5.5.260.0090.04015.89
5.5.250.0080.02315.87
5.5.240.0100.04015.68
5.5.230.0080.03815.66
5.5.220.0050.03815.84
5.5.210.0060.02315.76
5.5.200.0080.03815.66
5.5.190.0060.02815.84
5.5.180.0030.04415.75
5.5.170.0100.00614.17
5.5.160.0060.02315.66
5.5.150.0100.03815.85
5.5.140.0030.03715.86
5.5.130.0060.03615.57
5.5.120.0110.01615.73
5.5.110.0050.04415.80
5.5.100.0020.04115.71
5.5.90.0090.04015.77
5.5.80.0050.04515.69
5.5.70.0080.03515.61
5.5.60.0030.04315.48
5.5.50.0000.02615.81
5.5.40.0030.02215.74
5.5.30.0060.03315.79
5.5.20.0110.03315.64
5.5.10.0070.02315.62
5.5.00.0080.03115.65
5.4.450.0080.02815.34
5.4.440.0080.03215.33
5.4.430.0050.04015.37
5.4.420.0050.04315.37
5.4.410.0070.04215.26
5.4.400.0050.04015.20
5.4.390.0050.04015.23
5.4.380.0020.04615.12
5.4.370.0020.02515.22
5.4.360.0020.03915.24
5.4.350.0030.03015.18
5.4.340.0080.03815.16
5.4.330.0040.00711.36
5.4.320.0020.04315.13
5.4.310.0050.03915.21
5.4.300.0020.03615.12
5.4.290.0080.04015.19
5.4.280.0080.03815.19
5.4.270.0050.02515.19
5.4.260.0050.04215.24
5.4.250.0070.04015.24
5.4.240.0070.03415.23
5.4.230.0050.04115.17
5.4.220.0050.03515.21
5.4.210.0070.03115.19
5.4.200.0030.02515.24
5.4.190.0060.04215.20
5.4.180.0080.03715.31
5.4.170.0030.03915.31
5.4.160.0070.03815.19
5.4.150.0030.02315.18
5.4.140.0110.03413.83
5.4.130.0020.02513.95
5.4.120.0050.03813.82
5.4.110.0050.04013.89
5.4.100.0050.02713.87
5.4.90.0020.02513.84
5.4.80.0060.03613.79
5.4.70.0030.04313.87
5.4.60.0030.03313.96
5.4.50.0030.04413.87
5.4.40.0050.04013.84
5.4.30.0050.03613.87
5.4.20.0020.04113.90
5.4.10.0070.03113.89
5.4.00.0030.02513.55
5.3.290.0100.02213.05
5.3.280.0050.03712.89
5.3.270.0080.03512.98
5.3.260.0050.04212.90
5.3.250.0080.03512.94
5.3.240.0070.02712.97
5.3.230.0080.03313.02
5.3.220.0030.04412.87
5.3.210.0130.02813.00
5.3.200.0050.03512.85
5.3.190.0030.04012.94
5.3.180.0070.03612.92
5.3.170.0020.03612.94
5.3.160.0050.04313.00
5.3.150.0090.03612.95
5.3.140.0020.03812.93
5.3.130.0050.03212.87
5.3.120.0080.03812.93
5.3.110.0050.04212.93
5.3.100.0050.03812.68
5.3.90.0050.04312.65
5.3.80.0080.02112.67
5.3.70.0060.03312.62
5.3.60.0050.04012.66
5.3.50.0050.04412.58
5.3.40.0040.03912.61
5.3.30.0000.04112.61
5.3.20.0070.03612.57
5.3.10.0080.03512.39
5.3.00.0080.03712.49
5.2.170.0070.03310.93
5.2.160.0000.06711.10
5.2.150.0000.06711.13
5.2.140.0070.05711.28
5.2.130.0000.04711.10
5.2.120.0030.06310.92
5.2.110.0100.05311.00
5.2.100.0070.06311.03
5.2.90.0030.05710.93
5.2.80.0070.06011.12
5.2.70.0100.05011.04
5.2.60.0070.06010.91
5.2.50.0070.06310.80
5.2.40.0070.05310.98
5.2.30.0030.06710.95
5.2.20.0030.06310.93
5.2.10.0000.06710.77
5.2.00.0070.05710.74
5.1.60.0000.06010.04
5.1.50.0000.02710.04
5.1.40.0000.0279.80
5.1.30.0030.03010.35
5.1.20.0000.02710.39
5.1.10.0000.02710.06
5.1.00.0000.03010.11
5.0.50.0000.0208.52
5.0.40.0000.0238.38
5.0.30.0070.0278.18
5.0.20.0000.0238.16
5.0.10.0030.0238.11
5.0.00.0030.0278.21
4.4.90.0030.0308.00
4.4.80.0030.0338.00
4.4.70.0000.0408.00
4.4.60.0000.0408.00
4.4.50.0030.0278.00
4.4.40.0000.0338.00
4.4.30.0000.0178.00
4.4.20.0070.0108.00
4.4.10.0000.0178.00
4.4.00.0000.0238.00
4.3.110.0000.0178.00
4.3.100.0000.0138.00
4.3.90.0000.0138.00
4.3.80.0000.0238.00
4.3.70.0000.0138.00
4.3.60.0000.0138.00
4.3.50.0000.0138.00
4.3.40.0000.0278.00
4.3.30.0000.0138.00
4.3.20.0000.0178.00
4.3.10.0030.0138.00
4.3.00.0030.0178.00

preferences:
60.03 ms | 401 KiB | 5 Q