3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface PaginatorInterface { public function getCurrentPage(); public function getLastPage(); public function getTotal(); public function count(); public function getPerPage(); public function getUrl($page); } class Paginator implements PaginatorInterface { public function getCurrentPage() {} public function getLastPage() {} public function getTotal() {} public function count() {} public function getPerPage() {} public function getUrl($page) {} } new Paginator;

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.0140.00718.43
8.3.50.0100.00722.05
8.3.40.0110.00318.77
8.3.30.0110.00720.21
8.3.20.0120.00320.04
8.3.10.0000.00822.09
8.3.00.0070.01022.40
8.2.180.0140.00716.32
8.2.170.0170.00322.96
8.2.160.0210.00020.47
8.2.150.0050.00324.18
8.2.140.0070.01124.66
8.2.130.0040.00426.16
8.2.120.0050.00319.37
8.2.110.0070.00321.14
8.2.100.0060.00617.72
8.2.90.0050.00319.05
8.2.80.0040.00419.39
8.2.70.0040.00417.63
8.2.60.0040.00417.80
8.2.50.0040.00418.07
8.2.40.0070.00018.09
8.2.30.0060.00317.96
8.2.20.0070.00017.63
8.2.10.0060.00317.61
8.2.00.0040.00417.55
8.1.280.0040.01125.92
8.1.270.0080.00024.66
8.1.260.0080.00026.35
8.1.250.0100.00728.09
8.1.240.0030.00623.84
8.1.230.0080.00417.70
8.1.220.0050.00317.74
8.1.210.0000.00918.77
8.1.200.0060.00317.35
8.1.190.0050.00317.41
8.1.180.0060.00319.01
8.1.170.0000.00818.49
8.1.160.0040.00422.13
8.1.150.0000.00718.53
8.1.140.0030.00417.36
8.1.130.0030.00317.68
8.1.120.0000.00717.37
8.1.110.0070.00017.27
8.1.100.0020.00517.35
8.1.90.0030.00317.39
8.1.80.0000.00717.38
8.1.70.0000.00717.26
8.1.60.0060.00317.51
8.1.50.0020.00517.43
8.1.40.0000.00817.39
8.1.30.0000.00817.43
8.1.20.0030.00517.55
8.1.10.0080.00017.52
8.1.00.0000.00717.31
8.0.300.0040.00418.77
8.0.290.0040.00417.16
8.0.280.0030.00318.49
8.0.270.0030.00317.25
8.0.260.0000.00616.81
8.0.250.0000.00716.84
8.0.240.0050.00216.95
8.0.230.0080.00016.93
8.0.220.0000.00716.83
8.0.210.0000.00716.83
8.0.200.0030.00316.89
8.0.190.0030.00416.90
8.0.180.0000.00716.82
8.0.170.0070.00016.91
8.0.160.0030.00316.76
8.0.150.0000.00816.64
8.0.140.0080.00016.79
8.0.130.0030.00313.28
8.0.120.0050.00316.76
8.0.110.0000.00816.77
8.0.100.0070.00016.63
8.0.90.0040.00416.89
8.0.80.0060.01016.77
8.0.70.0000.00716.82
8.0.60.0070.00016.86
8.0.50.0050.00316.78
8.0.30.0130.00516.90
8.0.20.0080.01117.40
8.0.10.0040.00416.84
8.0.00.0110.00716.80
7.4.330.0050.00015.00
7.4.320.0060.00016.50
7.4.300.0030.00316.41
7.4.290.0070.00016.45
7.4.280.0070.00016.43
7.4.270.0000.00716.38
7.4.260.0030.00513.20
7.4.250.0050.00316.47
7.4.240.0000.00716.54
7.4.230.0000.00716.32
7.4.220.0090.00916.46
7.4.210.0060.00916.54
7.4.200.0000.00716.36
7.4.190.0000.00716.59
7.4.160.0110.01116.36
7.4.150.0140.00317.40
7.4.140.0140.00417.86
7.4.130.0070.01116.30
7.4.120.0030.01416.34
7.4.110.0140.00316.50
7.4.100.0080.00816.46
7.4.90.0030.01416.38
7.4.80.0070.01019.39
7.4.70.0080.00816.45
7.4.60.0110.00516.47
7.4.50.0030.00316.41
7.4.40.0120.00422.77
7.4.30.0060.01116.54
7.4.00.0030.01214.61
7.3.330.0050.00013.18
7.3.320.0000.00613.21
7.3.310.0080.00016.18
7.3.300.0000.00716.05
7.3.290.0120.00316.17
7.3.280.0080.00916.17
7.3.270.0100.00717.40
7.3.260.0070.01016.45
7.3.250.0060.01416.29
7.3.240.0040.01416.46
7.3.230.0080.00816.39
7.3.210.0090.00916.36
7.3.200.0080.00919.39
7.3.190.0170.00616.32
7.3.180.0090.00616.42
7.3.170.0000.01716.27
7.3.160.0100.01116.50
7.3.120.0030.01114.84
7.2.330.0120.00616.47
7.2.320.0080.01416.66
7.2.310.0160.00316.30
7.2.300.0100.00716.59
7.2.290.0090.00616.64
7.2.00.0060.01219.18
7.1.100.0100.00717.81
7.1.70.0030.00517.19
7.1.60.0070.01119.43
7.1.50.0120.00916.61
7.1.00.0000.06722.44
7.0.200.0060.00316.66
7.0.140.0000.07722.09
7.0.60.0000.05320.07
7.0.50.0070.08317.79
7.0.40.0200.07720.30
7.0.30.0230.06320.28
7.0.20.0400.07320.08
7.0.10.0070.08720.24
7.0.00.0100.08020.06
5.6.280.0000.07720.82
5.6.210.0000.04320.73
5.6.200.0030.04018.22
5.6.190.0130.06020.48
5.6.180.0330.08020.39
5.6.170.0200.04320.51
5.6.160.0070.05320.54
5.6.150.0130.07318.13
5.6.140.0100.07018.23
5.6.130.0170.07718.19
5.6.120.0030.08320.98
5.6.110.0030.04320.96
5.6.100.0100.08021.01
5.6.90.0070.04320.97
5.6.80.0170.06720.54
5.5.350.0370.07020.36
5.5.340.0070.05018.00
5.5.330.0200.07020.57
5.5.320.0070.04020.31
5.5.310.0270.08020.30
5.5.300.0000.04018.04
5.5.290.0070.04718.08
5.5.280.0170.07320.89
5.5.270.0100.06320.77
5.5.260.0000.05020.87
5.5.250.0030.09020.61
5.5.240.0070.06020.07
5.4.450.3670.04319.18
5.4.440.3470.04319.31
5.4.430.2230.04719.48
5.4.420.4330.03719.54
5.4.410.3630.03319.51
5.4.400.3670.03018.98
5.4.390.3800.04319.22
5.4.380.4070.04019.09
5.4.370.3700.03319.25
5.4.360.3870.04319.16
5.4.350.3900.03019.09
5.4.340.3570.04019.22
5.4.320.4500.04019.22
5.4.310.4270.03718.98
5.4.300.2870.03718.96
5.4.290.3200.03719.31
5.4.280.3370.03718.87
5.4.270.2930.03318.98
5.4.260.2570.03318.85
5.4.250.3600.05019.25
5.4.240.3800.03018.93
5.4.230.3600.03018.97
5.4.220.3870.04018.85
5.4.210.3800.03318.98
5.4.200.3400.03719.09
5.4.190.3830.04019.14
5.4.180.3770.03319.21
5.4.170.3600.03719.14
5.4.160.3700.03319.07
5.4.150.3870.03319.06
5.4.140.3830.03716.36
5.4.130.3800.03716.50
5.4.120.3730.03016.49
5.4.110.3670.03316.27
5.4.100.3670.04016.37
5.4.90.3770.03016.40
5.4.80.3870.03316.54
5.4.70.3300.03316.54
5.4.60.3600.04016.43
5.4.50.3970.05316.33
5.4.40.3900.03716.45
5.4.30.4000.03316.37
5.4.20.3730.02716.25
5.4.10.3730.03716.37
5.4.00.3870.03716.01
5.3.290.4600.04014.71
5.3.280.3730.03314.75
5.3.270.3530.03714.51
5.3.260.3300.03314.64
5.3.250.3670.03314.61
5.3.240.4100.04014.62
5.3.230.3770.03714.52
5.3.220.3570.03314.59
5.3.210.3530.03714.46
5.3.200.3170.04314.64
5.3.190.3900.03714.54
5.3.180.3830.04314.47
5.3.170.3930.03714.58
5.3.160.3870.03314.64
5.3.150.3500.03314.49
5.3.140.3800.04014.53
5.3.130.4130.03714.45
5.3.120.3670.04014.66
5.3.110.3470.04314.45
5.3.100.4670.03014.16
5.3.90.3900.03714.25
5.3.80.3530.04013.93
5.3.70.3600.03313.95
5.3.60.3930.03013.91
5.3.50.3800.04013.88
5.3.40.4130.03714.05
5.3.30.3600.02713.91
5.3.20.4070.04013.79
5.3.10.3970.03013.57
5.3.00.4200.03313.52
5.2.170.3430.03311.16
5.2.160.3030.03011.25
5.2.150.3130.03011.06
5.2.140.3100.03311.05
5.2.130.3170.02011.02
5.2.120.3200.03011.23
5.2.110.2870.03011.01
5.2.100.3230.02711.04
5.2.90.3330.02311.04
5.2.80.3200.03011.04
5.2.70.3230.03011.19
5.2.60.2970.02711.16
5.2.50.3300.02711.00
5.2.40.2500.03311.12
5.2.30.2530.02711.06
5.2.20.2370.03711.01
5.2.10.2630.03010.85
5.2.00.2230.03310.85
5.1.60.2630.02710.85
5.1.50.2770.02710.85
5.1.40.2600.02310.85
5.1.30.2670.02710.85
5.1.20.3070.03010.85
5.1.10.2870.02710.85
5.1.00.2930.02310.85
5.0.50.1730.02010.85
5.0.40.1630.02310.85
5.0.30.1700.03010.85
5.0.20.1700.02010.85
5.0.10.1430.02010.85
5.0.00.1470.03010.85
4.4.90.0870.02310.85
4.4.80.1270.01710.85
4.4.70.1170.01710.85
4.4.60.1370.01310.85
4.4.50.1730.01710.85
4.4.40.1570.03010.85
4.4.30.1170.01710.85
4.4.20.1500.01310.85
4.4.10.1500.01710.85
4.4.00.1330.03010.85
4.3.110.1830.01710.85
4.3.100.1800.01310.85
4.3.90.1770.01310.85
4.3.80.1570.02710.85
4.3.70.1770.01710.85
4.3.60.1170.01710.85
4.3.50.1700.01710.85
4.3.40.1670.02310.85
4.3.30.0870.02310.85
4.3.20.0700.02710.85
4.3.10.0700.01710.85
4.3.00.0670.01710.85

preferences:
42.29 ms | 401 KiB | 5 Q