3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface Foo { public function process($request, Foo $next); } class Bar implements Foo { public function process($request) { func_get_args(); } } $b = new Bar(); $b->process('der');

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.0120.00316.75
8.3.50.0110.00316.25
8.3.40.0040.01418.66
8.3.30.0040.01118.54
8.3.20.0000.00720.13
8.3.10.0040.00423.69
8.3.00.0000.00722.10
8.2.180.0100.01018.30
8.2.170.0140.00022.96
8.2.160.0140.00718.71
8.2.150.0100.00725.66
8.2.140.0030.00524.66
8.2.130.0040.00421.03
8.2.120.0000.00726.35
8.2.110.0070.00322.26
8.2.100.0060.00617.59
8.2.90.0000.00817.50
8.2.80.0040.00418.79
8.2.70.0030.00617.38
8.2.60.0030.00617.63
8.2.50.0040.00417.93
8.2.40.0090.00017.80
8.2.30.0000.00921.01
8.2.20.0000.00717.87
8.2.10.0000.00817.87
8.2.00.0030.00517.87
8.1.280.0180.00625.92
8.1.270.0000.00722.19
8.1.260.0040.00426.35
8.1.250.0000.00728.09
8.1.240.0040.00423.86
8.1.230.0000.01120.96
8.1.220.0040.00418.52
8.1.210.0000.00818.77
8.1.200.0000.00817.23
8.1.190.0040.00417.23
8.1.180.0060.00318.10
8.1.170.0070.00017.62
8.1.160.0070.00018.99
8.1.150.0000.00718.81
8.1.140.0000.00719.49
8.1.130.0030.00318.75
8.1.120.0040.00417.32
8.1.110.0030.00517.40
8.1.100.0000.00917.41
8.1.90.0000.00717.43
8.1.80.0070.00017.38
8.1.70.0000.00617.29
8.1.60.0030.00517.52
8.1.50.0080.00017.48
8.1.40.0060.00317.33
8.1.30.0040.00417.57
8.1.20.0040.00417.60
8.1.10.0000.00917.42
8.1.00.0040.00417.32
8.0.300.0090.00018.77
8.0.290.0000.00816.61
8.0.280.0000.00718.43
8.0.270.0070.00017.23
8.0.260.0000.00616.88
8.0.250.0070.00016.92
8.0.240.0000.00716.89
8.0.230.0030.00516.96
8.0.220.0030.00316.79
8.0.210.0040.00416.78
8.0.200.0000.00616.99
8.0.190.0030.00516.93
8.0.180.0070.00316.93
8.0.170.0000.00816.91
8.0.160.0040.00416.87
8.0.150.0000.00716.83
8.0.140.0000.00716.87
8.0.130.0000.00613.29
8.0.120.0040.00416.82
8.0.110.0000.00716.71
8.0.100.0040.00416.95
8.0.90.0040.00416.96
8.0.80.0070.01416.87
8.0.70.0080.00016.79
8.0.60.0050.00316.77
8.0.50.0040.00416.75
8.0.30.0050.01117.05
8.0.20.0140.00417.40
8.0.10.0050.00316.84
8.0.00.0180.00016.66
7.4.330.0000.00515.55
7.4.320.0050.00216.43
7.4.300.0000.00616.46
7.4.290.0040.00416.54
7.4.280.0070.00016.44
7.4.270.0040.00416.53
7.4.260.0030.00316.36
7.4.250.0040.00416.39
7.4.240.0070.00016.49
7.4.230.0070.00016.34
7.4.220.0080.01116.57
7.4.210.0050.01316.50
7.4.200.0000.00716.38
7.4.160.0100.00616.63
7.4.150.0120.00617.40
7.4.140.0110.00917.86
7.4.130.0110.00716.50
7.4.120.0110.01016.44
7.4.110.0100.00716.54
7.4.100.0110.01116.15
7.4.90.0110.00816.63
7.4.80.0030.01319.39
7.4.70.0120.00916.60
7.4.60.0130.00316.24
7.4.50.0110.00416.27
7.4.40.0090.01216.38
7.4.30.0100.00716.66
7.4.00.0080.01014.77
7.3.330.0050.00013.24
7.3.320.0000.00513.20
7.3.310.0070.00016.29
7.3.300.0070.00016.28
7.3.290.0000.00716.29
7.3.280.0070.01016.21
7.3.270.0130.00317.40
7.3.260.0150.00716.46
7.3.250.0130.00516.26
7.3.240.0100.00816.31
7.3.230.0130.00816.34
7.3.210.0070.01016.16
7.3.200.0090.01516.29
7.3.190.0030.01316.22
7.3.180.0130.00316.52
7.3.170.0030.01216.43
7.3.160.0040.01216.42
7.3.120.0100.00714.78
7.3.110.0080.00814.79
7.3.100.0050.01114.83
7.3.90.0040.00914.74
7.3.80.0080.00514.69
7.3.70.0070.00914.65
7.3.60.0050.00814.72
7.3.50.0040.01114.71
7.3.40.0060.00814.71
7.3.30.0080.00714.59
7.3.20.0040.00716.68
7.3.10.0080.00216.56
7.3.00.0040.00916.37
7.2.330.0060.01216.46
7.2.320.0060.00916.46
7.2.310.0040.01216.65
7.2.300.0090.00616.13
7.2.290.0100.00716.34
7.2.250.0070.01214.91
7.2.240.0080.01114.59
7.2.230.0060.00614.96
7.2.220.0050.01214.79
7.2.210.0090.00714.65
7.2.200.0050.01014.76
7.2.190.0060.00914.89
7.2.180.0070.00814.80
7.2.170.0070.00714.79
7.2.60.0040.01216.63
7.2.00.0040.00819.34
7.1.330.0060.00815.65
7.1.320.0030.00915.51
7.1.310.0070.00815.76
7.1.300.0090.00515.65
7.1.290.0040.00915.68
7.1.280.0080.00615.69
7.1.270.0040.00615.68
7.1.260.0020.01015.65
7.1.200.0120.00015.63
7.1.100.0030.00918.17
7.1.70.0070.01317.11
7.1.60.0170.01335.05
7.1.50.0170.01334.85
7.1.40.0130.01734.26
7.1.30.0170.01734.32
7.1.20.0250.00634.60
7.1.10.0110.00416.43
7.1.00.0030.01016.57
7.0.200.0070.00716.82
7.0.190.0060.00616.48
7.0.180.0030.01115.87
7.0.170.0000.01616.05
7.0.160.0060.00616.12
7.0.150.0070.00716.14
7.0.140.0060.00916.18
7.0.130.0070.00716.23
7.0.120.0090.00616.35
7.0.110.0060.00816.16
7.0.100.0110.00316.36
7.0.90.0040.01116.18
7.0.80.0000.01316.09
7.0.70.0030.01016.01
7.0.60.0100.00315.73
7.0.50.0060.00616.36
7.0.40.0090.00616.24
7.0.30.0000.01316.23
7.0.20.0100.00316.50
7.0.10.0090.00316.32
7.0.00.0030.01016.50

preferences:
37.15 ms | 401 KiB | 5 Q