3v4l.org

run code in 300+ PHP versions simultaneously
<?php function foo(string $test = null) { } 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.70.0100.01018.55
8.3.60.0140.00016.63
8.3.50.0110.00721.13
8.3.40.0120.00318.53
8.3.30.0110.00318.68
8.3.20.0040.00420.09
8.3.10.0050.00323.45
8.3.00.0080.00023.50
8.2.190.0040.01518.41
8.2.180.0110.00418.16
8.2.170.0140.00322.96
8.2.160.0100.00320.35
8.2.150.0060.00324.18
8.2.140.0080.00024.66
8.2.130.0030.00519.58
8.2.120.0070.00026.35
8.2.110.0100.00022.13
8.2.100.0080.00417.64
8.2.90.0000.00817.78
8.2.80.0050.00318.06
8.2.70.0090.00017.50
8.2.60.0050.00317.68
8.2.50.0040.00418.07
8.2.40.0000.00822.14
8.2.30.0000.00719.35
8.2.20.0000.00717.55
8.2.10.0050.00517.84
8.2.00.0050.00317.91
8.1.280.0070.00725.92
8.1.270.0060.01323.98
8.1.260.0050.00328.09
8.1.250.0040.00428.09
8.1.240.0000.00823.83
8.1.230.0100.00519.06
8.1.220.0040.00417.74
8.1.210.0040.00418.91
8.1.200.0000.01116.98
8.1.190.0040.00417.10
8.1.180.0040.00418.10
8.1.170.0080.00018.27
8.1.160.0000.00820.61
8.1.150.0040.00418.75
8.1.140.0070.00319.45
8.1.130.0000.00817.43
8.1.120.0050.00217.22
8.1.110.0000.00717.34
8.1.100.0030.00517.36
8.1.90.0050.00317.32
8.1.80.0000.00917.29
8.1.70.0040.00417.30
8.1.60.0040.00717.54
8.1.50.0030.00517.49
8.1.40.0040.00417.32
8.1.30.0040.00817.48
8.1.20.0030.00617.53
8.1.10.0050.00217.41
8.1.00.0070.00017.20
8.0.300.0040.00419.75
8.0.290.0000.00816.63
8.0.280.0070.00018.22
8.0.270.0030.00317.05
8.0.260.0040.00417.01
8.0.250.0030.00316.76
8.0.240.0060.00016.84
8.0.230.0030.00316.81
8.0.220.0000.00916.78
8.0.210.0030.00516.79
8.0.200.0000.00616.84
8.0.190.0000.00816.80
8.0.180.0070.00416.82
8.0.170.0040.00416.70
8.0.160.0000.00816.79
8.0.150.0030.00316.66
8.0.140.0030.00616.71
8.0.130.0070.00013.12
8.0.120.0000.00816.70
8.0.110.0000.00716.66
8.0.100.0000.00816.64
8.0.90.0030.00316.75
8.0.80.0060.00916.78
8.0.70.0030.00516.87
8.0.60.0030.00316.55
8.0.50.0000.00816.79
8.0.30.0130.00616.98
8.0.20.0110.00717.40
8.0.10.0070.00016.75
8.0.00.0120.00916.50
7.4.330.0020.00216.70
7.4.320.0030.00316.47
7.4.300.0000.00716.45
7.4.290.0050.00216.52
7.4.280.0030.00616.47
7.4.270.0030.00316.55
7.4.260.0000.00716.47
7.4.250.0030.00516.46
7.4.240.0050.00316.47
7.4.230.0070.00016.60
7.4.220.0010.00316.42
7.4.210.0070.00716.57
7.4.200.0000.00716.27
7.4.160.0040.01216.65
7.4.150.0070.01017.40
7.4.140.0110.00617.86
7.4.130.0090.01116.32
7.4.120.0090.01316.27
7.4.110.0160.00616.13
7.4.100.0190.00616.32
7.4.90.0100.00716.38
7.4.80.0100.00719.39
7.4.70.0090.00616.40
7.4.60.0070.01016.55
7.4.50.0030.01416.21
7.4.40.0160.00016.43
7.4.30.0090.00916.21
7.4.00.0120.00414.74
7.3.330.0000.00513.20
7.3.320.0060.00013.21
7.3.310.0000.00716.00
7.3.300.0060.00016.22
7.3.290.0050.01316.21
7.3.280.0060.01116.23
7.3.270.0070.01117.40
7.3.260.0140.00316.58
7.3.250.0080.00916.33
7.3.240.0140.00516.41
7.3.230.0160.00016.39
7.3.210.0060.01016.26
7.3.200.0080.00819.39
7.3.190.0030.01316.25
7.3.180.0130.00316.29
7.3.170.0080.01316.46
7.3.160.0120.00316.46
7.3.10.0030.00816.48
7.3.00.0040.00916.45
7.2.330.0000.01716.14
7.2.320.0100.00716.54
7.2.310.0070.01016.27
7.2.300.0120.00616.31
7.2.290.0170.00016.23
7.2.130.0060.00616.82
7.2.120.0050.00716.79
7.2.110.0040.01016.61
7.2.100.0050.00816.58
7.2.90.0110.00316.82
7.2.80.0050.00716.79
7.2.70.0030.00616.54
7.2.60.0030.00816.64
7.2.50.0070.00716.64
7.2.40.0030.00716.37
7.2.30.0050.00816.63
7.2.20.0050.00616.61
7.2.10.0060.00816.84
7.2.00.0050.00917.63
7.1.250.0070.00515.55
7.1.200.0030.01215.43
7.1.100.0040.00717.61
7.1.70.0050.00317.07
7.1.60.0100.01419.12
7.1.50.0260.01034.63
7.1.00.0030.07722.32
7.0.200.0000.00916.54
7.0.60.0270.07319.80
7.0.50.0070.03717.93
7.0.40.0030.04320.09
7.0.30.0230.06720.16
7.0.20.0230.04720.07
7.0.10.0100.07320.07
7.0.00.0130.06320.31
5.6.280.0030.03021.10
5.6.210.0130.07320.61
5.6.200.0070.04718.29
5.6.190.0070.04020.50
5.6.180.0370.07020.63
5.6.170.0200.08720.52
5.6.160.0030.09020.44
5.6.150.0070.07018.28
5.6.140.0170.07018.21
5.6.130.0070.07718.18
5.6.120.0100.08721.04
5.6.110.0070.08320.89
5.6.100.0170.08020.96
5.6.90.0030.09321.10
5.6.80.0070.08720.44
5.5.350.0200.03720.32
5.5.340.0030.05718.02
5.5.330.0100.07020.40
5.5.320.0700.06320.35
5.5.310.0270.07020.27
5.5.300.0070.08017.97
5.5.290.0100.05017.95
5.5.280.0130.04020.77
5.5.270.0000.07020.79
5.5.260.0100.07320.76
5.5.250.0130.06720.68
5.5.240.0130.04320.35

preferences:
55.26 ms | 401 KiB | 5 Q