3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Test { public static function foo(self $bar){} } class Test2 { public static function foo(self $bar){} } $t = new Test(); $t2 = new Test2(); $t::foo($t);

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.0040.01116.50
8.3.50.0110.01017.49
8.3.40.0110.00418.53
8.3.30.0110.00618.68
8.3.20.0030.00618.57
8.3.10.0000.00818.39
8.3.00.0030.00619.25
8.2.180.0060.01518.25
8.2.170.0140.00022.96
8.2.160.0120.00618.66
8.2.150.0050.00324.18
8.2.140.0000.00824.66
8.2.130.0080.00026.16
8.2.120.0040.00421.00
8.2.110.0030.00721.11
8.2.100.0080.00417.91
8.2.90.0060.00319.05
8.2.80.0000.00817.97
8.2.70.0040.00417.50
8.2.60.0090.00017.93
8.2.50.0000.00817.93
8.2.40.0030.00619.22
8.2.30.0070.00017.54
8.2.20.0050.00517.60
8.2.10.0040.00417.49
8.2.00.0030.00617.48
8.1.280.0040.01125.92
8.1.270.0040.00423.99
8.1.260.0080.00026.35
8.1.250.0050.00328.09
8.1.240.0050.00520.94
8.1.230.0110.00017.70
8.1.220.0000.00817.74
8.1.210.0060.00318.77
8.1.200.0060.00317.36
8.1.190.0030.00517.10
8.1.180.0050.00318.10
8.1.170.0060.00317.62
8.1.160.0000.00719.09
8.1.150.0000.00718.46
8.1.140.0000.00717.34
8.1.130.0000.00717.44
8.1.120.0000.00717.27
8.1.110.0040.00417.44
8.1.100.0000.00817.23
8.1.90.0070.00017.41
8.1.80.0050.00317.25
8.1.70.0000.00817.35
8.1.60.0040.00417.55
8.1.50.0000.00817.50
8.1.40.0040.00417.39
8.1.30.0040.00417.65
8.1.20.0000.00717.57
8.1.10.0040.00417.58
8.1.00.0040.00417.50
8.0.300.0030.00518.78
8.0.290.0080.00016.63
8.0.280.0000.00718.47
8.0.270.0000.00717.19
8.0.260.0030.00316.76
8.0.250.0000.00716.91
8.0.240.0000.00716.85
8.0.230.0050.00317.00
8.0.220.0000.00716.90
8.0.210.0030.00616.95
8.0.200.0040.00416.85
8.0.190.0030.00316.98
8.0.180.0030.00716.87
8.0.170.0000.00916.92
8.0.160.0000.00716.84
8.0.150.0000.00816.71
8.0.140.0050.00316.80
8.0.130.0030.00313.27
8.0.120.0040.00416.90
8.0.110.0030.00316.75
8.0.100.0050.00216.75
8.0.90.0040.00416.83
8.0.80.0130.01016.76
8.0.70.0040.00416.76
8.0.60.0040.00416.87
8.0.50.0000.00916.77
8.0.30.0130.00617.16
8.0.20.0150.00417.24
8.0.10.0000.00716.88
8.0.00.0090.01016.92
7.4.330.0020.00213.00
7.4.320.0030.00316.54
7.4.300.0000.00716.57
7.4.290.0030.00316.59
7.4.280.0050.00316.51
7.4.270.0080.00016.57
7.4.260.0000.00613.33
7.4.250.0030.00516.61
7.4.240.0030.00316.53
7.4.230.0030.00316.34
7.4.220.0030.01616.59
7.4.210.0060.00916.55
7.4.200.0030.00316.51
7.4.190.0000.00716.50
7.4.160.0030.01316.34
7.4.150.0150.00916.54
7.4.140.0100.00717.86
7.4.130.0150.00416.55
7.4.120.0070.01016.44
7.4.110.0090.00616.54
7.4.100.0140.00716.64
7.4.90.0140.00716.48
7.4.80.0110.00619.39
7.4.70.0030.01316.49
7.4.60.0100.00716.39
7.4.50.0000.00816.23
7.4.40.0070.00716.25
7.4.30.0000.02416.52
7.4.00.0040.00814.78
7.3.330.0070.00013.16
7.3.320.0030.00313.10
7.3.310.0000.00716.29
7.3.300.0060.00016.22
7.3.290.0070.00916.24
7.3.280.0090.00916.28
7.3.270.0060.01216.24
7.3.260.0030.01316.30
7.3.240.0120.00316.60
7.3.230.0070.01016.56
7.3.210.0030.01316.32
7.3.200.0030.01316.23
7.3.190.0060.01116.32
7.3.180.0050.00816.27
7.3.170.0130.01016.30
7.3.160.0090.00616.27
7.3.120.0140.00414.79
7.3.10.0080.00616.39
7.3.00.0080.00816.47
7.2.330.0000.01816.56
7.2.320.0080.00816.81
7.2.310.0100.00716.42
7.2.300.0120.00916.58
7.2.290.0180.00016.51
7.2.130.0090.00616.68
7.2.120.0000.00916.73
7.2.110.0000.01016.79
7.2.100.0000.01316.86
7.2.90.0090.00616.83
7.2.80.0110.00316.75
7.2.70.0000.01116.70
7.2.60.0040.01116.80
7.2.50.0060.00916.55
7.2.40.0060.00316.82
7.2.30.0100.00716.71
7.2.20.0070.01016.75
7.2.10.0030.01416.75
7.2.00.0070.00717.94
7.1.250.0060.00615.41
7.1.240.0030.01015.69
7.1.230.0060.01015.27
7.1.220.0060.00615.40
7.1.210.0090.00615.44
7.1.200.0000.00915.62
7.1.190.0040.01115.29
7.1.180.0090.00615.49
7.1.170.0030.00615.68
7.1.160.0000.01115.54
7.1.150.0100.00315.56
7.1.140.0080.00415.34
7.1.130.0060.00315.70
7.1.120.0040.01115.82
7.1.110.0040.01115.50
7.1.100.0080.00616.97
7.1.90.0100.00015.71
7.1.80.0070.01115.45
7.1.70.0000.01116.31
7.1.60.0060.01217.45
7.1.50.0060.00816.31
7.1.40.0000.00915.82
7.1.30.0130.00015.49
7.1.20.0030.01315.62
7.1.10.0040.00815.46
7.1.00.0080.01819.04
7.0.330.0070.00715.39
7.0.320.0040.00415.11
7.0.310.0040.00814.96
7.0.300.0090.00615.41
7.0.290.0000.01115.39
7.0.280.0140.00015.15
7.0.270.0060.00915.46
7.0.260.0000.01215.23
7.0.250.0130.00015.23
7.0.240.0090.00415.33
7.0.230.0040.00815.09
7.0.220.0090.00915.12
7.0.210.0000.00915.29
7.0.200.0020.00815.84
7.0.190.0040.00915.38
7.0.180.0070.00715.20
7.0.170.0060.00315.30
7.0.160.0130.00015.32
7.0.150.0070.00715.22
7.0.140.0030.03918.64
7.0.130.0040.01115.33
7.0.120.0020.03918.66
7.0.110.0130.03317.57
7.0.100.0110.04317.71
7.0.90.0120.03517.73
7.0.80.0080.04517.58
7.0.70.0150.03717.45
7.0.60.0030.04717.43
7.0.50.0100.04317.62
7.0.40.0040.04516.62
7.0.30.0070.03916.61
7.0.20.0070.04416.38
7.0.10.0080.04216.65
7.0.00.0120.04016.52
5.6.380.0120.00314.38
5.6.370.0000.00914.02
5.6.360.0090.00314.16
5.6.350.0030.01213.96
5.6.340.0000.01514.25
5.6.330.0100.00313.71
5.6.320.0030.01014.01
5.6.310.0030.00913.80
5.6.300.0000.01314.24
5.6.290.0110.00713.94
5.6.280.0030.04317.57
5.6.270.0030.01113.94
5.6.260.0070.03417.33
5.6.250.0060.04517.42
5.6.240.0050.04817.45
5.6.230.0110.03817.34
5.6.220.0000.02817.42
5.6.210.0090.04017.30
5.6.200.0030.04217.41
5.6.190.0070.04217.41
5.6.180.0030.05217.44
5.6.170.0060.04417.44
5.6.160.0090.04217.42
5.6.150.0030.04817.53
5.6.140.0110.04217.48
5.6.130.0040.04217.63
5.6.120.0050.04517.49
5.6.110.0150.03717.31
5.6.100.0050.04717.31
5.6.90.0120.03417.34
5.6.80.0020.04417.06
5.6.70.0080.04317.00
5.6.60.0060.04317.04
5.6.50.0080.02517.04
5.6.40.0070.04217.24
5.6.30.0100.04016.95
5.6.20.0050.04216.94
5.6.10.0070.04416.94
5.6.00.0030.04717.13
5.5.380.0050.03015.68
5.5.370.0100.04015.73
5.5.360.0070.04015.75
5.5.350.0060.04615.92
5.5.340.0050.04215.94
5.5.330.0090.04016.01
5.5.320.0050.02616.04
5.5.310.0060.04116.06
5.5.300.0080.04215.98
5.5.290.0080.03715.98
5.5.280.0040.04715.96
5.5.270.0050.03015.86
5.5.260.0030.05115.78
5.5.250.0060.04115.88
5.5.240.0050.02715.42
5.5.230.0080.03815.42
5.5.220.0030.04615.55
5.5.210.0020.04315.81
5.5.200.0110.03115.77
5.5.190.0030.04415.69
5.5.180.0030.04815.42
5.5.170.0030.00311.06
5.5.160.0050.04215.41
5.5.150.0130.04015.53
5.5.140.0100.03715.47
5.5.130.0080.03815.65
5.5.120.0070.03715.62
5.5.110.0050.04715.71
5.5.100.0030.04215.62
5.5.90.0050.02615.54
5.5.80.0110.03815.44
5.5.70.0090.04015.46
5.5.60.0090.03515.72
5.5.50.0070.03515.56
5.5.40.0050.04015.61
5.5.30.0080.03815.59
5.5.20.0080.02315.59
5.5.10.0100.02815.42
5.5.00.0110.02315.64
5.4.450.0030.04415.19
5.4.440.0060.04415.20
5.4.430.0120.04215.13
5.4.420.0020.04515.22
5.4.410.0030.04314.88
5.4.400.0150.03014.95
5.4.390.0070.03714.93
5.4.380.0120.03615.11
5.4.370.0080.03814.79
5.4.360.0050.04314.93
5.4.350.0070.04015.06
5.4.340.0080.03514.93
5.4.330.0040.00410.92
5.4.320.0080.03815.08
5.4.310.0060.03815.02
5.4.300.0100.03514.95
5.4.290.0070.04014.97
5.4.280.0020.03714.95
5.4.270.0010.04715.02
5.4.260.0050.04315.09
5.4.250.0030.04514.99
5.4.240.0090.03415.09
5.4.230.0030.04515.16
5.4.220.0080.03814.87
5.4.210.0070.03514.96
5.4.200.0050.04314.85
5.4.190.0080.03615.03
5.4.180.0020.04314.89
5.4.170.0090.04014.87
5.4.160.0070.04215.01
5.4.150.0030.04314.93
5.4.140.0120.03413.65
5.4.130.0100.03513.74
5.4.120.0120.03813.79
5.4.110.0100.03713.73
5.4.100.0070.03613.74
5.4.90.0100.02913.88
5.4.80.0080.04013.87
5.4.70.0160.03313.81
5.4.60.0170.03213.69
5.4.50.0060.04213.53
5.4.40.0120.03813.63
5.4.30.0030.04513.55
5.4.20.0060.03113.70
5.4.10.0130.03713.70
5.4.00.0080.03713.24
5.3.290.0050.04212.66
5.3.280.0050.04212.40
5.3.270.0050.04412.43
5.3.260.0080.03812.51
5.3.250.0120.03212.69
5.3.240.0110.03512.44
5.3.230.0080.04312.60
5.3.220.0080.03012.47
5.3.210.0130.02812.38
5.3.200.0130.04012.53
5.3.190.0110.03912.58
5.3.180.0060.04612.56
5.3.170.0100.04212.61
5.3.160.0070.04112.43
5.3.150.0140.02312.51
5.3.140.0080.04012.61
5.3.130.0070.02912.53
5.3.120.0090.03712.44
5.3.110.0100.02612.60
5.3.100.0100.03312.24
5.3.90.0060.04312.28
5.3.80.0090.03712.20
5.3.70.0040.03012.20
5.3.60.0110.04012.38
5.3.50.0090.04012.31
5.3.40.0100.03912.12
5.3.30.0090.04112.25
5.3.20.0050.04412.13
5.3.10.0050.03011.90
5.3.00.0070.03811.98
5.2.170.0070.03410.46
5.2.160.0040.03510.45
5.2.150.0060.02410.43
5.2.140.0060.02910.56
5.2.130.0000.02510.49
5.2.120.0020.03210.56
5.2.110.0090.03410.59
5.2.100.0090.01810.52
5.2.90.0080.03010.58
5.2.80.0030.02210.38
5.2.70.0070.03010.46
5.2.60.0040.02210.39
5.2.50.0060.02610.53
5.2.40.0080.02710.53
5.2.30.0080.03210.40
5.2.20.0040.03710.43
5.2.10.0070.03310.40
5.2.00.0070.03310.34
5.1.60.0020.03410.10
5.1.50.0080.02710.10
5.1.40.0050.03010.11
5.1.30.0080.03010.15
5.1.20.0040.03110.10
5.1.10.0070.01610.10
5.1.00.0110.02510.10
5.0.50.0030.02710.10
5.0.40.0050.02410.10
5.0.30.0030.03310.10
5.0.20.0060.01710.10
5.0.10.0090.01710.10
5.0.00.0060.03210.10
4.4.90.0050.01710.10
4.4.80.0060.01710.10
4.4.70.0060.01810.10
4.4.60.0070.01510.10
4.4.50.0080.01510.10
4.4.40.0060.01310.10
4.4.30.0060.01910.10
4.4.20.0030.01710.10
4.4.10.0020.02010.10
4.4.00.0030.03010.10
4.3.110.0040.01810.10
4.3.100.0010.02010.10
4.3.90.0060.01710.10
4.3.80.0060.02610.10
4.3.70.0050.01710.10
4.3.60.0030.01810.10
4.3.50.0020.02210.10
4.3.40.0030.02810.10
4.3.30.0020.02010.10
4.3.20.0020.01610.10
4.3.10.0030.02010.10
4.3.00.0070.01510.10

preferences:
50.99 ms | 401 KiB | 5 Q