3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface RequestInterface {} interface ServerRequestInterface extends RequestInterface {} interface MiddlewareInterface { public function handle( RequestInterface $request ); } interface ServerMiddlewareInterface extends MiddlewareInterface { public function handle( ServerRequestInterface $request ); }

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.80.0060.00317.97
8.3.70.0040.01116.74
8.3.60.0140.00718.43
8.3.50.0150.00723.00
8.3.40.0140.00618.51
8.3.30.0120.00318.67
8.3.20.0050.00320.29
8.3.10.0080.00023.64
8.3.00.0080.00020.95
8.2.200.0060.00316.38
8.2.190.0120.00318.11
8.2.180.0130.00318.16
8.2.170.0070.01122.96
8.2.160.0090.00618.96
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0070.00020.39
8.2.120.0040.00426.35
8.2.110.0080.00020.46
8.2.100.0090.00319.51
8.2.90.0000.00817.75
8.2.80.0030.00618.67
8.2.70.0080.00017.80
8.2.60.0040.00417.92
8.2.50.0060.00618.10
8.2.40.0050.00320.55
8.2.30.0040.00419.24
8.2.20.0000.00717.61
8.2.10.0000.00718.11
8.2.00.0000.00717.87
8.1.290.0040.00430.84
8.1.280.0140.00325.92
8.1.270.0000.00823.98
8.1.260.0030.00528.09
8.1.250.0030.00528.09
8.1.240.0040.00423.79
8.1.230.0090.00320.74
8.1.220.0030.00517.74
8.1.210.0000.00818.77
8.1.200.0080.00017.35
8.1.190.0000.00816.98
8.1.180.0000.00918.10
8.1.170.0030.00618.54
8.1.160.0030.00322.15
8.1.150.0070.00018.84
8.1.140.0000.00819.43
8.1.130.0050.00217.64
8.1.120.0040.00417.38
8.1.110.0040.00417.43
8.1.100.0070.00017.33
8.1.90.0000.01017.42
8.1.80.0080.00017.33
8.1.70.0070.00317.39
8.1.60.0050.00217.46
8.1.50.0050.00317.47
8.1.40.0040.00817.42
8.1.30.0000.00917.68
8.1.20.0040.00417.58
8.1.10.0040.00417.29
8.1.00.0040.00417.32
8.0.300.0080.00018.80
8.0.290.0040.00416.63
8.0.280.0000.00718.38
8.0.270.0030.00317.20
8.0.260.0060.00017.11
8.0.250.0000.00716.93
8.0.240.0040.00416.99
8.0.230.0030.00316.93
8.0.220.0050.00316.96
8.0.210.0070.00016.80
8.0.200.0000.00616.96
8.0.190.0050.00216.96
8.0.180.0000.00816.97
8.0.170.0000.00816.92
8.0.160.0000.00816.95
8.0.150.0080.00016.80
8.0.140.0040.00416.78
8.0.130.0000.00613.31
8.0.120.0000.00816.77
8.0.110.0000.00716.90
8.0.100.0040.00416.89
8.0.90.0000.00816.76
8.0.80.0120.00616.77
8.0.70.0020.00516.80
8.0.60.0000.00816.89
8.0.50.0040.00416.71
8.0.30.0100.00816.92
8.0.20.0100.00817.40
8.0.10.0000.00717.13
8.0.00.0060.01016.63
7.4.330.0030.00315.08
7.4.320.0000.00616.45
7.4.300.0000.00916.54
7.4.290.0070.00016.43
7.4.280.0040.00416.55
7.4.270.0000.00716.42
7.4.260.0070.00016.55
7.4.250.0070.00016.55
7.4.240.0000.00816.55
7.4.230.0050.00216.35
7.4.220.0090.01516.45
7.4.210.0110.00416.63
7.4.200.0000.00716.42
7.4.160.0030.01316.39
7.4.150.0090.00917.40
7.4.140.0130.00817.86
7.4.130.0140.00716.34
7.4.120.0070.01216.53
7.4.110.0100.00716.64
7.4.100.0170.00016.48
7.4.90.0030.01316.55
7.4.80.0000.01819.39
7.4.70.0110.00916.40
7.4.60.0060.01016.52
7.4.50.0090.00616.21
7.4.40.0070.01016.50
7.4.30.0130.00316.36
7.4.00.0090.00814.67
7.3.330.0030.00313.25
7.3.320.0000.00513.15
7.3.310.0050.00216.10
7.3.300.0030.00516.28
7.3.290.0060.00816.23
7.3.280.0090.00616.23
7.3.270.0110.00817.40
7.3.260.0070.01016.48
7.3.250.0090.00916.33
7.3.240.0060.01616.44
7.3.230.0100.01016.39
7.3.210.0080.00816.30
7.3.200.0130.01016.33
7.3.190.0140.00616.38
7.3.180.0040.01316.50
7.3.170.0060.01016.27
7.3.160.0130.00316.36
7.3.120.0050.01214.65
7.3.110.0070.01214.60
7.3.100.0080.00714.69
7.3.90.0070.00914.88
7.3.80.0020.01214.89
7.3.70.0030.01014.78
7.3.60.0040.01114.81
7.3.50.0070.00314.69
7.3.40.0060.00714.74
7.3.30.0080.00814.76
7.3.20.0090.00316.39
7.3.10.0050.00816.59
7.3.00.0040.00916.58
7.2.330.0100.00716.23
7.2.320.0100.00716.69
7.2.310.0100.01316.22
7.2.300.0130.00316.50
7.2.290.0060.01216.55
7.2.250.0060.01314.92
7.2.240.0140.00714.98
7.2.230.0050.01414.94
7.2.220.0020.00914.88
7.2.210.0080.01014.86
7.2.200.0050.00614.91
7.2.190.0040.01214.80
7.2.180.0080.00514.74
7.2.170.0110.00314.88
7.2.130.0060.00616.86
7.2.120.0000.01016.57
7.2.110.0060.01016.86
7.2.100.0090.00616.39
7.2.90.0070.01016.69
7.2.80.0060.00616.78
7.2.70.0040.01116.86
7.2.60.0040.00916.61
7.2.50.0030.01516.94
7.2.40.0060.01016.75
7.2.30.0070.00416.73
7.2.20.0090.00616.59
7.2.10.0040.01216.82
7.2.00.0050.00818.06
7.1.330.0060.00815.69
7.1.320.0080.00515.55
7.1.310.0080.00615.66
7.1.300.0040.00715.62
7.1.290.0020.01015.39
7.1.280.0030.01115.54
7.1.270.0060.00715.38
7.1.260.0070.00715.52
7.1.250.0030.00915.87
7.1.200.0000.01115.49
7.1.100.0000.01418.03
7.1.70.0090.00417.06
7.1.60.0070.01419.90
7.1.50.0190.00616.80
7.1.00.0100.06722.31
7.0.200.0610.00014.49
7.0.70.0430.06719.91
7.0.60.0400.06320.00
7.0.50.0370.06020.36
7.0.40.0500.04720.34
7.0.30.0430.08020.38
7.0.20.0330.05320.36
7.0.10.0200.06720.20
7.0.00.0130.06720.34
5.6.280.0000.07321.13
5.6.220.0420.06220.65
5.6.210.0300.06320.84
5.6.200.0470.07021.10
5.6.190.0270.07021.14
5.6.180.0270.06321.10
5.6.170.0370.05321.03
5.6.160.0300.05321.09
5.6.150.0270.05321.18
5.6.140.0300.05021.20
5.6.130.0330.05721.07
5.6.120.0100.07321.08
5.6.110.0130.07021.19
5.6.100.0330.07021.19
5.6.90.0530.07321.07
5.6.80.0300.07020.46
5.6.70.0430.06720.45
5.6.60.0230.06320.55
5.6.50.0300.06320.47
5.6.40.0230.06320.41
5.6.30.0130.06320.45
5.6.20.0430.07320.50
5.6.10.0270.06020.48
5.6.00.0730.07020.55
5.5.360.0400.05320.45
5.5.350.0370.05720.45
5.5.340.0400.05320.96
5.5.330.0400.05720.93
5.5.320.0430.05020.89
5.5.310.0230.05720.78
5.5.300.0330.05720.96
5.5.290.0270.06320.89
5.5.280.0170.06320.94
5.5.270.0470.06020.89
5.5.260.0530.05020.80
5.5.250.0270.06720.70
5.5.240.0370.06320.34
5.5.230.0500.05020.27
5.5.220.0300.07720.32
5.5.210.0270.06020.27
5.5.200.0130.06320.28
5.5.190.0270.06020.21
5.5.180.0200.05320.24
5.5.160.0600.06720.29
5.5.150.0300.06720.30
5.5.140.0200.06720.21
5.5.130.0200.05720.13
5.5.120.0200.06720.19
5.5.110.0270.05720.18
5.5.100.0230.08720.08
5.5.90.0430.05020.17
5.5.80.0200.05720.19
5.5.70.0430.05720.09
5.5.60.0200.05320.11
5.5.50.0370.04320.16
5.5.40.0370.03720.15
5.5.30.0270.06020.17
5.5.20.0300.05320.21
5.5.10.0130.06020.05
5.5.00.0130.05720.16

preferences:
30.27 ms | 401 KiB | 5 Q