3v4l.org

run code in 500+ PHP versions simultaneously
<?php interface Foo { public function render(bool $x = false); } class X implements Foo { public function render(bool $x = null) { 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.5.80.0030.00516.70
8.5.70.0080.00618.68
8.5.60.0060.00816.71
8.5.50.0080.01216.89
8.5.30.0050.00518.80
8.5.20.0080.01016.56
8.5.10.0080.01116.69
8.5.00.0120.00920.05
8.4.230.0100.01219.51
8.4.220.0120.00919.63
8.4.210.0120.00919.56
8.4.180.0140.00821.93
8.4.170.0140.00820.55
8.4.160.0120.01023.79
8.4.150.0120.00716.73
8.4.140.0150.00717.54
8.4.130.0110.00917.75
8.4.120.0110.00920.80
8.4.110.0110.00022.38
8.4.100.0130.00817.88
8.4.90.0130.00818.46
8.4.80.0040.00519.57
8.4.70.0090.01018.80
8.4.60.0130.00718.68
8.4.50.0140.00617.79
8.4.40.0120.00624.11
8.4.30.0130.00720.16
8.4.20.0030.01618.05
8.4.10.0060.00320.49
8.3.320.0090.00518.36
8.3.310.0120.00618.33
8.3.300.0150.00720.80
8.3.290.0130.00720.79
8.3.280.0140.01018.34
8.3.270.0130.00716.56
8.3.260.0090.00716.54
8.3.250.0060.01219.00
8.3.240.0120.00716.56
8.3.230.0110.01016.71
8.3.220.0080.00917.07
8.3.210.0070.00318.34
8.3.200.0060.00216.63
8.3.190.0090.00916.66
8.3.180.0090.01016.57
8.3.170.0150.00318.30
8.3.160.0120.00616.57
8.3.150.0080.00017.22
8.3.140.0030.01316.38
8.3.130.0040.00418.49
8.3.120.0080.00820.81
8.3.110.0030.00620.94
8.3.100.0000.00824.06
8.3.90.0000.00826.77
8.3.80.0090.00019.36
8.3.70.0070.00718.15
8.3.60.0120.00318.43
8.3.50.0100.00923.57
8.3.40.0110.00318.73
8.3.30.0100.01318.55
8.3.20.0050.00224.18
8.3.10.0070.00024.66
8.3.00.0000.00726.16
8.2.320.0120.00418.14
8.2.310.0110.01018.04
8.2.300.0120.00722.21
8.2.290.0120.00620.36
8.2.280.0130.00716.57
8.2.270.0080.01116.90
8.2.260.0000.01018.75
8.2.250.0090.00916.59
8.2.240.0080.00317.11
8.2.230.0080.00022.58
8.2.220.0000.01037.54
8.2.210.0000.01426.77
8.2.200.0090.00018.88
8.2.190.0090.00616.70
8.2.180.0140.00425.92
8.2.170.0120.00318.83
8.2.160.0070.00722.96
8.2.150.0000.00725.66
8.2.140.0080.00024.66
8.2.130.0070.00026.16
8.2.120.0000.00720.86
8.2.110.0040.00422.21
8.2.100.0080.00417.59
8.2.90.0000.00819.05
8.2.80.0040.00417.97
8.2.70.0030.00617.38
8.2.60.0050.00517.90
8.2.50.0050.00318.10
8.2.40.0020.00520.64
8.2.30.0000.00717.97
8.2.20.0040.00418.04
8.2.10.0070.00019.09
8.2.00.0060.00319.14
8.1.340.0120.00821.54
8.1.330.0060.00222.07
8.1.320.0030.00516.24
8.1.310.0100.00716.54
8.1.300.0040.00415.95
8.1.290.0030.00630.84
8.1.280.0070.01025.92
8.1.270.0000.00823.99
8.1.260.0080.00026.35
8.1.250.0050.00328.09
8.1.240.0030.00723.86
8.1.230.0120.00020.87
8.1.220.0030.00617.74
8.1.210.0040.00418.77
8.1.200.0030.00617.35
8.1.190.0040.00417.23
8.1.180.0050.00218.10
8.1.170.0000.00718.65
8.1.160.0040.00420.61
8.1.150.0000.00718.79
8.1.140.0080.00018.80
8.1.130.0000.00717.29
8.1.120.0000.00717.30
8.1.110.0050.00317.33
8.1.100.0000.00717.38
8.1.90.0040.00417.25
8.1.80.0030.00617.35
8.1.70.0000.00717.39
8.1.60.0060.00317.54
8.1.50.0000.00917.38
8.1.40.0060.00317.46
8.1.30.0030.00517.61
8.1.20.0040.00417.50
8.1.10.0050.00217.32
8.1.00.0080.00017.34
8.0.300.0070.00018.77
8.0.290.0030.00716.75
8.0.280.0000.00818.34
8.0.270.0030.00318.11
8.0.260.0040.00416.91
8.0.250.0040.00416.97
8.0.240.0000.00717.01
8.0.230.0070.00016.81
8.0.220.0000.00816.82
8.0.210.0000.00716.86
8.0.200.0030.00316.84
8.0.190.0060.00316.91
8.0.180.0070.00016.75
8.0.170.0080.00016.80
8.0.160.0000.00816.71
8.0.150.0040.00416.72
8.0.140.0040.00416.78
8.0.130.0030.00313.18
8.0.120.0050.00516.83
8.0.110.0080.00016.69
8.0.100.0000.00816.74
8.0.90.0040.00416.78
8.0.80.0060.01116.79
8.0.70.0040.00416.80
8.0.60.0000.00816.62
8.0.50.0000.00816.76
8.0.30.0160.00017.04
8.0.20.0070.01117.01
8.0.10.0120.00716.92
8.0.00.0120.01116.94
7.4.330.0000.00415.55
7.4.320.0060.00016.52
7.4.300.0000.00616.44
7.4.290.0040.00416.48
7.4.280.0000.00816.34
7.4.270.0030.00316.38
7.4.260.0050.00013.11
7.4.250.0000.00716.32
7.4.240.0030.00516.45
7.4.230.0000.00716.46
7.4.220.0030.00316.25
7.4.210.0060.01216.41
7.4.200.0040.00316.29
7.4.140.0130.00816.27
7.4.130.0150.01016.38
7.4.120.0120.00816.41
7.4.110.0110.01016.38
7.4.100.0140.00616.37
7.4.90.0100.01016.35
7.4.80.0080.01116.53
7.4.70.0100.01216.39
7.4.60.0100.01016.35
7.4.50.0130.00716.47
7.4.40.0120.00816.34
7.4.30.0100.01016.44
7.4.20.0120.00816.43
7.4.10.0120.01016.29
7.4.00.0110.00816.48
7.3.330.0040.00416.11
7.3.320.0000.00513.16
7.3.310.0000.00716.23
7.3.300.0030.00316.24
7.3.290.0080.00616.26
7.3.260.0100.01016.39
7.3.250.0110.00816.31
7.3.240.0110.00816.27
7.3.230.0140.00916.29
7.3.220.0130.00916.38
7.3.210.0110.00916.43
7.3.200.0100.01116.33
7.3.190.0130.00716.29
7.3.180.0130.00716.29
7.3.170.0100.00916.23
7.3.160.0160.00316.29
7.3.150.0100.01116.26
7.3.140.0140.00616.33
7.3.130.0130.00816.31
7.3.120.0120.01016.38
7.3.110.0100.00916.31
7.3.100.0130.00916.36
7.3.90.0130.00816.20
7.3.80.0110.00916.21
7.3.70.0110.00916.31
7.3.60.0140.00716.32
7.3.50.0140.00616.25
7.3.40.0090.01116.22
7.3.30.0110.01016.25
7.3.20.0360.00716.23
7.3.10.0190.00816.29
7.3.00.0160.00516.34

preferences:
97.33 ms | 1392 KiB | 5 Q