3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface Foo { public function render(bool $x = null); } class X implements Foo { public function render(bool $x = false) { var_dump($x); } } (new X())->render();

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.4.120.0140.00622.34
8.4.110.0090.01118.90
8.4.100.0050.00417.95
8.4.90.0120.00920.75
8.4.80.0100.00924.20
8.4.70.0060.00218.81
8.4.60.0150.00620.55
8.4.50.0060.00518.70
8.4.40.0030.00622.62
8.4.30.0150.00620.18
8.4.20.0080.01217.73
8.4.10.0080.00020.48
8.3.250.0060.01217.13
8.3.240.0110.00716.66
8.3.230.0100.00916.60
8.3.220.0050.00218.82
8.3.210.0050.00616.96
8.3.200.0030.00516.64
8.3.190.0120.00618.84
8.3.180.0050.00418.91
8.3.170.0110.00718.78
8.3.160.0090.00918.84
8.3.150.0110.00816.65
8.3.140.0000.00816.91
8.3.130.0150.00016.54
8.3.120.0060.00918.95
8.3.110.0000.00820.94
8.3.100.0080.00316.76
8.3.90.0040.00426.77
8.3.80.0040.00419.36
8.3.70.0110.00716.88
8.3.60.0070.01418.36
8.3.50.0120.00823.66
8.3.40.0040.01118.77
8.3.30.0070.01018.54
8.3.20.0050.00324.18
8.3.10.0030.00624.66
8.3.00.0040.00426.16
8.2.290.0060.00617.22
8.2.280.0120.00618.45
8.2.270.0110.00816.45
8.2.260.0040.00416.57
8.2.250.0080.00018.49
8.2.240.0120.00318.93
8.2.230.0070.00722.58
8.2.220.0060.00324.06
8.2.210.0100.01026.77
8.2.200.0040.00418.88
8.2.190.0120.00616.58
8.2.180.0140.01025.92
8.2.170.0070.01122.96
8.2.160.0070.01122.96
8.2.150.0050.00325.66
8.2.140.0000.00824.66
8.2.130.0080.00026.16
8.2.120.0080.00026.35
8.2.110.0180.00418.06
8.2.100.0040.00817.74
8.2.90.0030.00617.63
8.2.80.0040.00418.84
8.2.70.0030.00617.68
8.2.60.0040.00418.03
8.2.50.0040.00418.10
8.2.40.0000.00819.31
8.2.30.0060.00319.11
8.2.20.0040.00417.98
8.2.10.0000.00819.16
8.2.00.0000.00819.23
8.1.330.0080.01015.99
8.1.320.0090.01015.87
8.1.310.0040.00416.16
8.1.300.0080.00019.92
8.1.290.0040.00830.84
8.1.280.0060.00925.92
8.1.270.0040.00421.94
8.1.260.0080.00028.09
8.1.250.0050.00228.09
8.1.240.0000.00923.79
8.1.230.0100.00020.88
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0060.00317.22
8.1.190.0030.00517.23
8.1.180.0030.00518.10
8.1.170.0000.00818.65
8.1.160.0080.00018.87
8.1.150.0000.00818.81
8.1.140.0040.00418.80
8.1.130.0030.00320.14
8.1.120.0050.00217.41
8.1.110.0050.00317.33
8.1.100.0000.00817.41
8.1.90.0000.00717.40
8.1.80.0000.00917.39
8.1.70.0070.00017.32
8.1.60.0040.00417.40
8.1.50.0030.00517.49
8.1.40.0060.00317.37
8.1.30.0030.00517.56
8.1.20.0020.00517.50
8.1.10.0050.00317.41
8.1.00.0000.00817.32
8.0.300.0070.00018.77
8.0.290.0050.00316.63
8.0.280.0050.00318.37
8.0.270.0030.00316.75
8.0.260.0040.00418.46
8.0.250.0000.00716.97
8.0.240.0040.00416.95
8.0.230.0040.00416.90
8.0.220.0030.00316.90
8.0.210.0000.00616.88
8.0.200.0050.00316.91
8.0.190.0040.00416.94
8.0.180.0000.00816.81
8.0.170.0060.00316.86
8.0.160.0000.00716.92
8.0.150.0070.00016.89
8.0.140.0000.00716.80
8.0.130.0000.00513.27
8.0.120.0070.00316.86
8.0.110.0040.00416.82
8.0.100.0070.00016.68
8.0.90.0000.00716.92
8.0.80.0090.00616.83
8.0.70.0000.00716.94
8.0.60.0050.00316.91
8.0.50.0000.00716.69
8.0.30.0130.00317.14
8.0.20.0100.00717.17
8.0.10.0130.01017.00
8.0.00.0100.01117.04
7.4.330.0000.00515.55
7.4.320.0040.00416.41
7.4.300.0000.00616.48
7.4.290.0000.00716.49
7.4.280.0050.00316.43
7.4.270.0030.00316.57
7.4.260.0030.00313.13
7.4.250.0040.00416.39
7.4.240.0030.00316.50
7.4.230.0000.00716.50
7.4.220.0000.00716.48
7.4.210.0050.01416.40
7.4.200.0040.00416.61
7.4.140.0140.00416.49
7.4.130.0100.01116.50
7.4.120.0120.00916.23
7.4.110.0110.01216.37
7.4.100.0100.01316.26
7.4.90.0080.01316.38
7.4.80.0110.00916.44
7.4.70.0030.01616.21
7.4.60.0180.01816.41
7.4.50.0150.00716.53
7.4.40.0150.01716.48
7.4.30.0070.01016.44
7.4.20.0040.01616.42
7.4.10.0100.00816.26
7.4.00.0150.00816.44
7.3.330.0000.00716.31
7.3.320.0000.00513.05
7.3.310.0000.00716.10
7.3.300.0030.00316.25
7.3.290.0020.01216.19
7.3.260.0130.00716.37
7.3.250.0130.00516.21
7.3.240.0070.01316.31
7.3.230.0130.00816.33
7.3.220.0080.01016.25
7.3.210.0120.00616.27
7.3.200.0120.01116.45
7.3.190.0100.00816.35
7.3.180.0290.00916.31
7.3.170.0130.00616.29
7.3.160.0100.01216.31
7.3.150.0160.01116.23
7.3.140.0090.00816.43
7.3.130.0090.00916.36
7.3.120.0100.00916.36
7.3.110.0170.01116.27
7.3.100.0130.00616.19
7.3.90.0060.01316.26
7.3.80.0110.00816.26
7.3.70.0090.01216.18
7.3.60.0150.01016.34
7.3.50.0070.01216.29
7.3.40.0100.00716.19
7.3.30.0150.00716.25
7.3.20.0140.01916.31
7.3.10.0180.00616.26
7.3.00.0100.01016.21

preferences:
32.86 ms | 403 KiB | 5 Q