3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface Pager { public function fetch($page = 0, ...$categories); } class DbPager implements Pager { public function fetch($seite = 0, ...$kategorien) { var_dump($kategorien); } } $dbPager = new DbPager(); $dbPager->fetch(page: 1, categories: 2);

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.130.0080.00018.45
8.3.120.0080.00018.88
8.3.110.0060.00320.94
8.3.100.0060.00324.06
8.3.90.0070.00026.77
8.3.80.0050.00516.78
8.3.70.0040.01716.58
8.3.60.0070.01418.43
8.3.50.0120.00723.64
8.3.40.0130.00621.82
8.3.30.0070.00718.67
8.3.20.0080.00024.18
8.3.10.0040.00424.66
8.3.00.0040.00426.16
8.2.250.0080.00016.61
8.2.240.0050.00317.28
8.2.230.0050.00322.58
8.2.220.0120.00337.54
8.2.210.0030.00526.77
8.2.200.0040.00416.73
8.2.190.0140.00716.63
8.2.180.0120.00625.92
8.2.170.0080.00818.97
8.2.160.0110.00322.96
8.2.150.0040.00425.66
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0040.00421.00
8.2.110.0120.01021.27
8.2.100.0140.00220.49
8.2.90.0120.00920.57
8.2.80.0100.01020.55
8.2.70.0090.00920.51
8.2.60.0150.00720.51
8.2.50.0150.00620.56
8.2.40.0070.00320.56
8.2.30.0150.00320.57
8.2.20.0140.00320.36
8.2.10.0080.00318.62
8.2.00.0060.00320.14
8.1.300.0160.00317.78
8.1.290.0110.00030.84
8.1.280.0120.00625.92
8.1.270.0060.00323.97
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0080.00220.25
8.1.230.0080.00820.33
8.1.220.0060.00320.18
8.1.210.0070.01121.62
8.1.200.0000.01120.34
8.1.190.0000.00920.35
8.1.180.0060.00320.29
8.1.170.0090.00020.31
8.1.160.0060.00320.45
8.1.150.0110.00720.25
8.1.140.0110.00720.27
8.1.130.0070.00320.39
8.1.120.0050.00520.38
8.1.110.0000.00920.34
8.1.100.0060.00320.33
8.1.90.0110.00720.35
8.1.80.0000.01020.41
8.1.70.0000.00920.48
8.1.60.0070.01120.59
8.1.50.0000.01020.46
8.1.40.0040.01420.62
8.1.30.0110.00720.48
8.1.20.0070.01120.52
8.1.10.0070.00318.61
8.1.00.0060.00318.61
8.0.300.0090.00819.01
8.0.290.0090.00017.65
8.0.280.0060.00317.88
8.0.270.0030.00617.82
8.0.260.0090.01217.84
8.0.250.0060.00317.84
8.0.240.0150.00617.89
8.0.230.0070.00317.95
8.0.220.0030.00617.88
8.0.210.0120.00917.77
8.0.200.0030.00717.87
8.0.190.0040.00417.84
8.0.180.0030.00617.96
8.0.170.0060.00317.93
8.0.160.0060.00319.70
8.0.150.0030.00619.76
8.0.140.0040.00419.70
8.0.130.0030.00619.55
8.0.120.0090.00019.75
8.0.110.0090.00019.82
8.0.100.0030.00619.75
8.0.90.0030.00619.49
8.0.80.0000.01019.71
8.0.70.0060.00319.43
8.0.60.0090.00019.61
8.0.50.0000.00919.70
8.0.30.0100.00019.74
8.0.20.0060.00319.92
8.0.10.0050.00519.98
8.0.00.0030.01018.39
7.4.330.0070.00014.59
7.4.320.0060.00319.10
7.4.300.0090.00019.28
7.4.290.0090.00019.32
7.4.280.0000.00919.27
7.4.270.0070.00319.12
7.4.260.0030.00619.14
7.4.250.0040.00419.30
7.4.240.0000.00919.30
7.4.230.0060.00319.18
7.4.220.0030.00619.33
7.4.210.0080.00019.14
7.4.200.0030.00619.29
7.4.190.0090.00019.11
7.4.180.0040.00419.30
7.4.160.0040.00417.32
7.4.150.0030.00617.32
7.4.140.0060.00317.25
7.4.130.0080.00017.35
7.4.120.0060.00317.18
7.4.110.0090.01016.35
7.4.100.0110.00916.41
7.4.90.0130.00916.35
7.4.80.0110.01116.35
7.4.70.0130.01016.30
7.4.60.0130.00816.39
7.4.50.0140.00716.31
7.4.40.0130.00716.38
7.4.30.0150.00916.38
7.4.20.0140.01016.33
7.4.10.0150.01016.37
7.4.00.0100.00916.32
7.3.330.0130.00717.02
7.3.320.0270.00717.19
7.3.310.0260.00017.29
7.3.300.0090.00917.01
7.3.290.0150.00216.93
7.3.280.0250.01217.18
7.3.270.0320.00917.19
7.3.260.0280.01117.34
7.3.250.0340.00017.22
7.3.240.0170.00017.18
7.3.230.0120.00916.29
7.3.220.0130.01016.25
7.3.210.0170.00716.24
7.3.200.0130.00816.23
7.3.190.0150.01016.30
7.3.180.0140.00916.21
7.3.170.0130.01016.21
7.3.160.0150.00816.26
7.3.150.0150.00916.31
7.3.140.0140.00816.30
7.3.130.0160.00716.27
7.3.120.0140.00816.31
7.3.110.0140.00816.23
7.3.100.0150.00816.25
7.3.90.0150.00816.28
7.3.80.0140.00816.21
7.3.70.0150.00816.22
7.3.60.0140.00716.22
7.3.50.0130.00916.31
7.3.40.0140.00816.24
7.3.30.0140.00816.28
7.3.20.0150.00916.49
7.3.10.0240.01116.40
7.3.00.0150.00716.44
7.2.340.0130.01016.55
7.2.330.0120.01116.35
7.2.320.0130.00916.35
7.2.310.0120.00816.39
7.2.300.0180.00616.34
7.2.290.0140.00716.42
7.2.280.0150.00816.32
7.2.270.0130.01016.36
7.2.260.0160.00816.34
7.2.250.0150.00816.43
7.2.240.0130.01016.38
7.2.230.0150.01016.41
7.2.220.0140.01016.36
7.2.210.0150.00716.27
7.2.200.0160.00916.35
7.2.190.0140.00916.30
7.2.180.0140.00816.38
7.2.170.0130.00916.30
7.2.160.0130.00916.38
7.2.150.0140.01016.60
7.2.140.0160.00916.55
7.2.130.0160.00816.56
7.2.120.0170.00816.56
7.2.110.0170.00916.62
7.2.100.0150.00916.57
7.2.90.0190.00716.56
7.2.80.0230.01016.55
7.2.70.0160.00816.60
7.2.60.0120.01216.53
7.2.50.0210.00716.51
7.2.40.0150.00916.55
7.2.30.0120.01016.55
7.2.20.0160.00916.61
7.2.10.0130.00916.54
7.2.00.0140.00816.62

preferences:
28.75 ms | 403 KiB | 5 Q