3v4l.org

run code in 300+ PHP versions simultaneously
<?php function foo (string $xx){ } foo(null);

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.0150.00016.75
8.3.50.0100.00716.26
8.3.40.0040.01118.83
8.3.30.0040.01118.60
8.3.20.0070.01120.29
8.3.10.0040.00421.63
8.3.00.0040.00423.53
8.2.180.0090.00618.25
8.2.170.0040.01119.00
8.2.160.0110.00422.96
8.2.150.0000.00725.66
8.2.140.0040.00424.66
8.2.130.0080.00019.64
8.2.120.0070.00026.35
8.2.110.0030.00621.99
8.2.100.0030.00917.91
8.2.90.0030.00618.22
8.2.80.0050.00318.02
8.2.70.0030.00517.80
8.2.60.0050.00317.80
8.2.50.0040.00418.10
8.2.40.0030.00620.42
8.2.30.0000.00720.52
8.2.20.0040.00417.73
8.2.10.0000.00718.03
8.2.00.0040.00417.98
8.1.280.0090.00925.92
8.1.270.0030.00623.91
8.1.260.0050.00328.09
8.1.250.0070.00028.09
8.1.240.0030.00623.92
8.1.230.0080.00321.01
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0040.00417.10
8.1.190.0030.00517.13
8.1.180.0040.00418.10
8.1.170.0000.00818.58
8.1.160.0050.00222.04
8.1.150.0040.00418.66
8.1.140.0040.00419.43
8.1.130.0070.00017.58
8.1.120.0030.00417.38
8.1.110.0000.00717.37
8.1.100.0070.00017.30
8.1.90.0040.00417.21
8.1.80.0040.00417.34
8.1.70.0050.00317.22
8.1.60.0040.00417.50
8.1.50.0030.00517.49
8.1.40.0040.00417.33
8.1.30.0000.00817.64
8.1.20.0080.00017.57
8.1.10.0080.00017.55
8.1.00.0080.00017.36
8.0.300.0040.00419.80
8.0.290.0040.00416.63
8.0.280.0000.00718.29
8.0.270.0030.00317.19
8.0.260.0030.00317.18
8.0.250.0040.00416.82
8.0.240.0040.00416.95
8.0.230.0000.00816.83
8.0.220.0030.00316.80
8.0.210.0030.00316.92
8.0.200.0020.00516.87
8.0.190.0000.00716.82
8.0.180.0000.00716.91
8.0.170.0000.00816.91
8.0.160.0070.00016.93
8.0.150.0050.00216.83
8.0.140.0000.00916.67
8.0.130.0030.00313.30
8.0.120.0070.00016.79
8.0.110.0000.00716.78
8.0.100.0020.00516.77
8.0.90.0000.00816.88
8.0.80.0090.00616.96
8.0.70.0040.00416.78
8.0.60.0040.00416.94
8.0.50.0050.00216.70
8.0.30.0130.00717.09
8.0.20.0090.01017.40
8.0.10.0030.00516.89
8.0.00.0080.00916.69
7.4.330.0050.00016.85
7.4.320.0070.00016.45
7.4.300.0000.00816.48
7.4.290.0000.00716.50
7.4.280.0070.00316.52
7.4.270.0040.00416.42
7.4.260.0100.00416.56
7.4.250.0040.00416.40
7.4.240.0070.00016.41
7.4.230.0030.00316.43
7.4.220.0090.00916.38
7.4.210.0070.00716.59
7.4.200.0020.00516.63
7.4.160.0030.01316.65
7.4.150.0100.00917.40
7.4.140.0130.00517.86
7.4.130.0100.01016.53
7.4.120.0110.00716.44
7.4.110.0200.00316.47
7.4.100.0170.00616.38
7.4.90.0170.00016.28
7.4.80.0160.00619.39
7.4.70.0140.00416.57
7.4.60.0030.01316.55
7.4.50.0090.00616.27
7.4.40.0100.00616.54
7.4.30.0140.00616.60
7.4.00.0060.00614.86
7.3.330.0060.00013.32
7.3.320.0000.00513.31
7.3.310.0000.00716.18
7.3.300.0000.00716.15
7.3.290.0040.01416.30
7.3.280.0110.00616.28
7.3.270.0090.00917.40
7.3.260.0130.00316.39
7.3.250.0100.00716.47
7.3.240.0120.00716.29
7.3.230.0100.00616.41
7.3.210.0130.00616.16
7.3.200.0120.00919.39
7.3.190.0090.00916.24
7.3.180.0110.00716.38
7.3.170.0040.01216.36
7.3.160.0070.01016.27
7.2.330.0040.01416.41
7.2.320.0070.01416.47
7.2.310.0120.00616.54
7.2.300.0130.00316.44
7.2.290.0100.00616.52
7.2.60.0000.01316.94
7.2.00.0150.00018.91
7.1.200.0080.00415.60
7.1.100.0000.01117.95
7.1.70.0030.00516.80
7.1.60.0100.01619.21
7.1.50.0030.01016.90
7.1.00.0000.08022.46
7.0.200.0040.00416.81
7.0.60.0030.07721.59
7.0.50.0170.07017.89
7.0.40.0170.07320.14
7.0.30.0270.03020.13
7.0.20.0170.04020.23
7.0.10.0170.05720.06
7.0.00.0130.04320.20
5.6.280.0000.03320.90
5.6.210.0030.08720.47
5.6.200.0130.08018.16
5.6.190.0130.04320.43
5.6.180.0470.06720.57
5.6.170.0200.08720.53
5.6.160.0030.08720.61
5.6.150.0030.06018.15
5.6.140.0000.04018.18
5.6.130.0070.07318.15
5.6.120.0030.04021.01
5.6.110.0130.07021.03
5.6.100.0000.07320.85
5.6.90.0070.08321.00
5.6.80.0170.05720.42
5.5.350.0130.04020.30
5.5.340.0070.05318.02
5.5.330.0100.08020.47
5.5.320.0370.04320.36
5.5.310.0230.06020.30
5.5.300.0030.07017.95
5.5.290.0100.07317.95
5.5.280.0030.04320.80
5.5.270.0130.08020.76
5.5.260.0070.07320.89
5.5.250.0030.08720.59
5.5.240.0100.08020.23

preferences:
51.48 ms | 400 KiB | 5 Q