3v4l.org

run code in 300+ PHP versions simultaneously
<?php class cls {} $c = (new ReflectionMethod('SplStack', 'count'))->getClosure(new SplStack); $c = $c->bindTo(new cls); $c();

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.0150.00018.68
8.3.50.0040.01520.97
8.3.40.0090.00618.54
8.3.30.0040.01418.88
8.3.20.0040.00420.41
8.3.10.0040.00421.64
8.3.00.0050.00220.30
8.2.180.0070.00718.51
8.2.170.0150.00022.96
8.2.160.0110.00420.38
8.2.150.0030.00524.18
8.2.140.0040.00424.66
8.2.130.0030.00526.16
8.2.120.0100.00017.63
8.2.110.0080.00319.33
8.2.100.0080.00417.84
8.2.90.0000.00819.03
8.2.80.0000.00817.97
8.2.70.0080.00017.38
8.2.60.0060.00317.80
8.2.50.0090.00018.07
8.2.40.0060.00319.41
8.2.30.0040.00420.69
8.2.20.0050.00317.74
8.2.10.0080.00018.00
8.2.00.0030.00618.05
8.1.280.0130.00625.92
8.1.270.0040.00423.96
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0090.00021.30
8.1.230.0090.00317.42
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0040.00417.23
8.1.190.0040.00417.22
8.1.180.0000.00718.10
8.1.170.0040.00418.52
8.1.160.0030.00622.02
8.1.150.0040.00418.77
8.1.140.0040.00717.26
8.1.130.0040.00417.52
8.1.120.0040.00417.42
8.1.110.0050.00217.28
8.1.100.0070.00017.46
8.1.90.0000.00717.42
8.1.80.0040.00417.31
8.1.70.0070.00017.40
8.1.60.0000.00817.52
8.1.50.0060.00317.43
8.1.40.0030.00517.50
8.1.30.0060.00317.69
8.1.20.0000.00817.52
8.1.10.0030.00517.44
8.1.00.0040.00417.43
8.0.300.0070.00018.77
8.0.290.0000.00716.75
8.0.280.0040.00418.43
8.0.270.0050.00317.26
8.0.260.0060.00017.23
8.0.250.0050.00216.96
8.0.240.0000.00816.84
8.0.230.0000.00716.97
8.0.220.0030.00416.87
8.0.210.0020.00516.80
8.0.200.0030.00316.96
8.0.190.0000.00816.95
8.0.180.0050.00316.79
8.0.170.0040.00416.88
8.0.160.0070.00016.93
8.0.150.0000.00716.86
8.0.140.0070.00016.74
8.0.130.0050.00013.34
8.0.120.0050.00316.85
8.0.110.0050.00216.75
8.0.100.0030.00516.90
8.0.90.0000.00816.83
8.0.80.0060.00916.89
8.0.70.0070.00016.88
8.0.60.0000.00716.86
8.0.50.0040.00416.89
8.0.30.0070.01117.07
8.0.20.0140.00617.40
8.0.10.0050.00216.83
8.0.00.0110.00716.70
7.4.330.0030.00315.08
7.4.320.0000.00616.45
7.4.300.0060.00016.44
7.4.290.0050.00216.45
7.4.280.0040.00416.51
7.4.270.0040.00416.62
7.4.260.0000.00716.48
7.4.250.0000.00816.56
7.4.240.0010.00616.52
7.4.230.0030.00316.41
7.4.220.0130.00316.40
7.4.210.0090.00616.62
7.4.200.0030.00316.52
7.4.160.0030.01216.67
7.4.150.0060.01117.40
7.4.140.0140.00517.86
7.4.130.0070.01116.56
7.4.120.0090.00816.46
7.4.110.0100.00616.46
7.4.100.0150.00316.71
7.4.90.0070.01016.70
7.4.80.0110.01019.39
7.4.70.0060.01216.46
7.4.60.0100.00616.41
7.4.50.0040.00016.63
7.4.40.0170.00616.68
7.4.30.0120.01216.32
7.4.00.0080.00914.95
7.3.330.0020.00213.30
7.3.320.0060.00013.23
7.3.310.0040.00416.36
7.3.300.0040.00416.18
7.3.290.0080.00816.30
7.3.280.0090.00916.33
7.3.270.0070.01117.40
7.3.260.0100.00716.20
7.3.250.0100.00816.34
7.3.240.0120.00616.24
7.3.230.0060.01216.57
7.3.210.0060.01016.22
7.3.200.0030.01216.49
7.3.190.0170.00016.41
7.3.180.0060.01316.39
7.3.170.0140.00616.38
7.3.160.0120.00516.31
7.3.120.0000.01214.75
7.3.110.0070.01415.09
7.3.100.0030.01014.77
7.3.90.0130.00014.77
7.3.80.0030.01314.48
7.3.70.0100.00614.51
7.3.60.0100.00714.68
7.3.50.0120.00014.80
7.3.40.0090.00314.43
7.3.30.0040.00714.80
7.3.20.0040.01116.49
7.3.10.0100.00716.36
7.3.00.0030.00916.26
7.2.330.0130.00616.19
7.2.320.0190.00316.27
7.2.310.0070.01016.57
7.2.300.0050.01116.65
7.2.290.0100.01316.36
7.2.250.0040.01514.78
7.2.240.0040.01414.64
7.2.230.0070.01014.89
7.2.220.0030.01015.08
7.2.210.0100.00714.99
7.2.200.0040.00714.82
7.2.190.0040.01114.94
7.2.180.0000.01414.93
7.2.170.0070.00714.54
7.2.130.0090.00616.64
7.2.120.0070.01116.48
7.2.110.0100.00716.55
7.2.100.0180.00016.24
7.2.90.0170.00316.45
7.2.80.0150.00916.75
7.2.70.0170.00316.39
7.2.60.0100.00916.34
7.2.50.0120.01216.86
7.2.40.0190.00616.59
7.2.30.0140.00716.34
7.2.20.0180.00716.76
7.2.10.0370.01016.77
7.2.00.0040.01118.14
7.1.330.0030.01015.68
7.1.320.0090.00015.64
7.1.310.0070.00715.76
7.1.300.0070.00715.70
7.1.290.0100.00615.50
7.1.280.0090.00615.65
7.1.270.0100.00315.70
7.1.260.0070.00715.71
7.1.250.0070.01415.52
7.1.200.0060.00615.21
7.1.100.0070.00717.79
7.1.70.0070.00316.64
7.1.60.0040.02219.11
7.1.50.0170.00716.93
7.1.00.0030.07722.45
7.0.200.0030.00716.48
7.0.60.0000.06720.00
7.0.50.0070.03717.85
7.0.40.0130.06020.30
7.0.30.0170.04320.24
7.0.20.0230.06720.08
7.0.10.0030.06720.12
7.0.00.0030.09320.20
5.6.280.0030.06721.06
5.6.210.0200.06320.62
5.6.200.0030.04018.29
5.6.190.0070.08720.55
5.6.180.0370.07720.61
5.6.170.0300.04320.54
5.6.160.0100.07320.46
5.6.150.0070.04718.29
5.6.140.0070.06318.21
5.6.130.0030.05018.08
5.6.120.0070.08720.96
5.6.110.0070.08721.11
5.6.100.0070.06320.98
5.6.90.0070.05020.96
5.6.80.0000.07720.35
5.5.350.0300.06020.43
5.5.340.0100.05717.79
5.5.330.0130.03320.22
5.5.320.0100.05020.12
5.5.310.0270.03720.19
5.5.300.0030.04317.90
5.5.290.0030.08717.99
5.5.280.0070.08320.73
5.5.270.0030.04320.71
5.5.260.0230.06020.79
5.5.250.0070.05020.57
5.5.240.0070.07020.15
5.4.450.0630.05719.16
5.4.440.0930.05719.45
5.4.430.0730.05319.10
5.4.420.0900.05019.24
5.4.410.1000.05719.26
5.4.400.0630.05019.12
5.4.390.0600.05319.09
5.4.380.0600.05319.27
5.4.370.0630.05018.77
5.4.360.0700.04719.03
5.4.350.0830.06319.24
5.4.340.0870.05318.96
5.4.320.0930.05018.98
5.4.310.0630.05719.14
5.4.300.0800.05719.14
5.4.290.0670.05019.23
5.4.280.0930.07019.01
5.4.270.0670.05019.11
5.4.260.0830.05319.01
5.4.250.0900.04318.94
5.4.240.0600.05019.00
5.4.230.0730.04019.14
5.4.220.0670.04718.84
5.4.210.0630.05319.00
5.4.200.0870.04719.17
5.4.190.0830.05019.16
5.4.180.0670.04718.77
5.4.170.0600.05719.02
5.4.160.0700.06718.93
5.4.150.0600.06018.92
5.4.140.0570.05316.34
5.4.130.0670.04316.46
5.4.120.0570.05716.34
5.4.110.0600.05716.57
5.4.100.0570.05316.18
5.4.90.0600.05716.39
5.4.80.0630.04716.25
5.4.70.0370.05316.23
5.4.60.0230.07016.15
5.4.50.0370.06016.31
5.4.40.0130.03316.25
5.4.30.0200.07016.50
5.4.20.0170.07016.36
5.4.10.0330.03716.49

preferences:
46.26 ms | 401 KiB | 5 Q