3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface Foo { public function bar($foo); } class One implements Foo { public function bar(string $foo): bool { } }

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.0070.01318.68
8.3.50.0100.01018.04
8.3.40.0090.00618.51
8.3.30.0000.01418.32
8.3.20.0040.00418.85
8.3.10.0050.00323.52
8.3.00.0000.00823.54
8.2.180.0080.00818.03
8.2.170.0140.00322.96
8.2.160.0100.00318.86
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0080.00017.97
8.2.120.0030.00526.35
8.2.110.0070.00421.06
8.2.100.0080.00417.66
8.2.90.0000.00817.50
8.2.80.0000.00917.97
8.2.70.0050.00318.04
8.2.60.0000.00917.91
8.2.50.0090.00018.10
8.2.40.0000.00819.27
8.2.30.0040.00419.16
8.2.20.0030.00718.04
8.2.10.0040.00421.22
8.2.00.0040.00519.28
8.1.280.0210.00025.92
8.1.270.0090.00022.16
8.1.260.0040.00426.35
8.1.250.0000.00828.09
8.1.240.0070.00320.80
8.1.230.0110.00020.96
8.1.220.0040.00418.77
8.1.210.0070.00218.77
8.1.200.0000.00917.22
8.1.190.0050.00517.13
8.1.180.0040.00718.10
8.1.170.0060.00318.70
8.1.160.0000.00718.87
8.1.150.0040.00418.77
8.1.140.0000.00919.42
8.1.130.0030.00318.79
8.1.120.0030.00417.39
8.1.110.0000.00717.41
8.1.100.0030.00317.22
8.1.90.0040.00417.39
8.1.80.0000.00717.35
8.1.70.0050.00217.31
8.1.60.0080.00417.49
8.1.50.0000.00817.45
8.1.40.0070.00017.34
8.1.30.0040.00417.58
8.1.20.0040.00417.64
8.1.10.0080.00017.37
8.1.00.0040.00417.28
8.0.300.0000.00719.86
8.0.290.0070.00016.63
8.0.280.0030.00318.33
8.0.270.0040.00317.16
8.0.260.0000.00717.19
8.0.250.0070.00016.95
8.0.240.0070.00016.94
8.0.230.0000.00716.94
8.0.220.0030.00316.80
8.0.210.0000.00716.77
8.0.200.0030.00316.87
8.0.190.0030.00316.84
8.0.180.0030.00516.90
8.0.170.0030.00516.83
8.0.160.0080.00016.86
8.0.150.0060.00616.86
8.0.140.0030.00316.80
8.0.130.0050.00013.27
8.0.120.0030.00316.83
8.0.110.0040.00416.75
8.0.100.0030.00416.78
8.0.90.0000.00816.90
8.0.80.0120.00716.84
8.0.70.0000.00716.77
8.0.60.0000.00716.91
8.0.50.0040.00416.88
8.0.30.0100.01117.03
8.0.20.0130.00917.40
8.0.10.0030.00616.86
8.0.00.0140.00316.87
7.4.330.0030.00315.55
7.4.320.0000.00716.34
7.4.300.0060.00016.50
7.4.290.0000.00716.54
7.4.280.0040.00416.43
7.4.270.0000.00716.48
7.4.260.0000.00716.52
7.4.250.0070.00016.37
7.4.240.0030.00316.50
7.4.230.0040.00416.42
7.4.220.0030.00516.27
7.4.210.0080.00916.52
7.4.200.0000.00716.36
7.4.160.0120.00616.43
7.4.140.0090.00917.86
7.4.130.0110.00716.52
7.4.120.0090.00916.56
7.4.110.0070.01016.59
7.4.100.0160.00616.35
7.4.90.0030.01516.36
7.4.80.0130.00319.39
7.4.70.0140.00716.50
7.4.60.0110.01416.42
7.4.50.0030.01216.52
7.4.40.0100.00716.57
7.4.00.0080.00814.68
7.3.330.0000.00513.23
7.3.320.0000.00613.01
7.3.310.0040.00416.24
7.3.300.0070.00016.10
7.3.290.0000.00716.24
7.3.280.0100.00916.22
7.3.260.0110.00716.22
7.3.240.0130.01116.45
7.3.230.0060.00916.26
7.3.210.0110.00716.30
7.3.200.0170.00016.48
7.3.190.0080.00816.27
7.3.180.0090.01216.43
7.3.170.0090.01216.36
7.3.160.0110.01216.27
7.2.330.0120.00816.23
7.2.320.0100.01316.42
7.2.310.0000.01816.45
7.2.300.0030.01616.62
7.2.290.0080.01216.64
7.2.70.0160.01514.79
7.2.60.0100.01314.86
7.2.50.0160.01314.88
7.2.40.0180.01214.59
7.2.30.0280.00614.80
7.2.20.0180.01414.88
7.2.10.0190.00915.02
7.2.00.0180.01214.94
7.1.200.0060.00915.68
7.1.170.0250.00313.51
7.1.160.0210.00713.68
7.1.150.0170.01313.89
7.1.140.0200.01013.95
7.1.130.0190.00913.55
7.1.120.0980.00614.01
7.1.110.0120.01213.74
7.1.100.0230.00713.63
7.1.90.0250.00613.59
7.1.80.0320.00313.46
7.1.70.0240.00713.86
7.1.60.0290.01331.69
7.1.50.0300.01531.76
7.1.40.0410.01631.64
7.1.30.0370.01731.92
7.1.20.0480.00731.91
7.1.10.0190.01313.88
7.1.00.0170.00313.77

preferences:
65.5 ms | 400 KiB | 5 Q