3v4l.org

run code in 300+ PHP versions simultaneously
<?php function foo(?array $bar) { } 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.4.10.0060.00319.21
8.3.140.0070.01118.55
8.3.130.0000.00818.32
8.3.120.0030.00620.74
8.3.110.0050.00520.94
8.3.100.0060.00318.43
8.3.90.0070.00726.77
8.3.80.0060.00317.97
8.3.70.0120.00916.38
8.3.60.0090.00618.18
8.3.50.0040.00918.61
8.3.40.0060.01218.41
8.3.30.0100.00718.52
8.3.20.0080.00623.68
8.3.10.0080.00323.72
8.3.00.0030.01123.06
8.2.260.0140.00419.02
8.2.250.0070.00716.45
8.2.240.0040.00418.70
8.2.230.0080.00022.58
8.2.220.0060.00324.06
8.2.210.0030.01626.77
8.2.200.0130.00016.25
8.2.190.0120.00316.58
8.2.180.0090.00618.30
8.2.170.0150.00018.84
8.2.160.0100.00322.96
8.2.150.0100.00124.92
8.2.140.0090.00225.16
8.2.130.0080.00325.91
8.2.120.0000.01223.33
8.2.110.0070.00623.37
8.2.100.0080.00821.72
8.2.90.0090.00522.57
8.2.80.0040.00821.82
8.2.70.0060.00621.79
8.2.60.0050.00621.58
8.2.50.0070.00521.67
8.2.40.0090.00420.11
8.2.30.0100.00519.01
8.2.20.0050.01119.71
8.2.10.0090.00519.89
8.2.00.0090.00820.00
8.1.300.0040.00418.10
8.1.290.0060.00330.84
8.1.280.0070.01325.92
8.1.270.0040.00723.88
8.1.260.0070.00626.01
8.1.250.0070.00726.88
8.1.240.0080.00624.82
8.1.230.0020.01223.24
8.1.220.0060.00521.70
8.1.210.0050.00722.24
8.1.200.0080.00421.44
8.1.190.0050.00721.38
8.1.180.0040.00821.88
8.1.170.0080.00719.63
8.1.160.0100.00519.89
8.1.150.0120.00219.85
8.1.140.0090.00419.91
8.1.130.0090.00419.51
8.1.120.0100.00519.19
8.1.110.0080.00618.93
8.1.100.0090.00618.73
8.1.90.0110.00518.74
8.1.80.0090.00618.72
8.1.70.0110.00418.72
8.1.60.0080.00918.87
8.1.50.0100.00718.79
8.1.40.0110.00518.84
8.1.30.0110.00518.89
8.1.20.0110.00518.88
8.1.10.0120.00518.75
8.1.00.0120.00418.71
8.0.300.0050.00522.71
8.0.290.0150.00321.14
8.0.280.0130.00419.79
8.0.270.0070.00619.39
8.0.260.0100.00518.88
8.0.250.0090.00518.92
8.0.240.0110.00418.63
8.0.230.0120.00318.36
8.0.220.0090.00418.32
8.0.210.0120.00318.34
8.0.200.0080.00518.37
8.0.190.0090.00618.32
8.0.180.0080.00718.30
8.0.170.0110.00518.29
8.0.160.0100.00418.34
8.0.150.0090.00518.29
8.0.140.0110.00418.31
8.0.130.0110.00517.86
8.0.120.0120.00418.32
8.0.110.0090.00418.31
8.0.100.0110.00318.37
8.0.90.0110.00418.33
8.0.80.0090.00618.14
8.0.70.0100.00518.30
8.0.60.0120.00418.29
8.0.50.0090.00618.30
8.0.30.0100.00418.39
8.0.20.0060.00818.50
8.0.10.0090.00518.62
8.0.00.0120.00418.39
7.4.330.0090.00517.64
7.4.320.0120.00518.35
7.4.300.0130.00418.40
7.4.290.0110.00518.15
7.4.280.0120.00518.16
7.4.270.0110.00518.14
7.4.260.0110.00517.77
7.4.250.0110.00618.16
7.4.240.0110.00417.96
7.4.230.0140.00418.15
7.4.220.0120.00417.91
7.4.210.0100.00717.82
7.4.200.0100.00518.14
7.4.190.0110.00518.40
7.4.180.0110.00518.37
7.4.160.0120.00318.44
7.4.150.0100.00618.41
7.4.140.0120.00418.34
7.4.130.0100.00718.10
7.4.120.0120.00518.11
7.4.110.0150.00218.36
7.4.100.0130.00418.40
7.4.90.0130.00518.39
7.4.80.0120.00518.33
7.4.70.0120.00518.33
7.4.60.0100.00618.33
7.4.50.0130.00318.28
7.4.40.0100.00518.27
7.4.30.0100.00518.30
7.4.20.0100.00418.28
7.4.10.0100.00618.34
7.4.00.0080.00718.33
7.3.330.0140.00317.97
7.3.320.0130.00317.65
7.3.310.0110.00417.99
7.3.300.0130.00318.23
7.3.290.0120.00517.82
7.3.280.0110.00718.02
7.3.270.0140.00418.28
7.3.260.0130.00517.40
7.3.250.0130.00518.28
7.3.240.0140.00417.55
7.3.230.0140.00518.25
7.3.220.0130.00518.21
7.3.210.0130.00518.22
7.3.200.0130.00718.17
7.3.190.0150.00318.21
7.3.180.0150.00418.24
7.3.170.0140.00418.23
7.3.160.0130.00418.24
7.3.150.0100.00618.22
7.3.140.0120.00418.28
7.3.130.0130.00318.24
7.3.120.0120.00418.23
7.3.110.0110.00517.71
7.3.100.0140.00418.21
7.3.90.0120.00518.39
7.3.80.0140.00418.24
7.3.70.0130.00518.28
7.3.60.0150.00218.33
7.3.50.0120.00618.33
7.3.40.0150.00318.33
7.3.30.0130.00518.31
7.3.20.0190.00719.36
7.3.10.0120.00519.33
7.3.00.0170.00619.34
7.2.340.0140.00418.24
7.2.330.0120.00618.21
7.2.320.0130.00518.26
7.2.310.0120.00518.27
7.2.300.0110.00518.24
7.2.290.0100.00718.26
7.2.280.0130.00418.22
7.2.270.0120.00518.27
7.2.260.0110.00618.26
7.2.250.0110.00618.20
7.2.240.0120.00418.28
7.2.230.0120.00518.21
7.2.220.0120.00518.26
7.2.210.0110.00618.24
7.2.200.0140.00518.31
7.2.190.0120.00518.30
7.2.180.0110.00618.30
7.2.170.0150.00318.36
7.2.160.0130.00418.35
7.2.150.0140.00519.39
7.2.140.0160.00619.41
7.2.130.0140.00419.49
7.2.120.0120.00619.44
7.2.110.0130.00419.43
7.2.100.0120.00519.43
7.2.90.0150.00319.44
7.2.80.0130.00419.39
7.2.70.0150.00419.43
7.2.60.0130.00419.43
7.2.50.0130.00519.41
7.2.40.0140.00419.41
7.2.30.0110.00819.45
7.2.20.0120.00519.48
7.2.10.0130.00519.47
7.2.00.0090.00819.45
7.1.330.0130.00418.78
7.1.320.0120.00318.77
7.1.310.0110.00618.84
7.1.300.0240.00318.79
7.1.290.0100.00718.84
7.1.280.0190.00418.79
7.1.270.0150.00218.86
7.1.260.0110.00618.83
7.1.250.0140.00318.76
7.1.240.0110.00618.79
7.1.230.0130.00418.82
7.1.220.0110.00718.79
7.1.210.0150.00218.83
7.1.200.0130.00518.85
7.1.190.0190.00518.81
7.1.180.0120.00518.82
7.1.170.0140.00318.80
7.1.160.0130.00418.79
7.1.150.0140.00318.81
7.1.140.0100.00718.74
7.1.130.0130.00418.79
7.1.120.0130.00618.74
7.1.110.0130.00418.74
7.1.100.0120.00318.80
7.1.90.0120.00518.79
7.1.80.0200.00418.80
7.1.70.0140.00218.73
7.1.60.0140.00518.87
7.1.50.0120.00618.84
7.1.40.0120.00418.85
7.1.30.0100.00618.82
7.1.20.0150.00318.80
7.1.10.0110.00618.82
7.1.00.0140.00418.77

preferences:
34.28 ms | 403 KiB | 5 Q