3v4l.org

run code in 300+ PHP versions simultaneously
<?php function test(?string $bla) { echo "Hello World"; } test(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.0070.00716.63
8.3.50.0130.00921.11
8.3.40.0090.00618.53
8.3.30.0090.00618.60
8.3.20.0000.00720.09
8.3.10.0070.00023.33
8.3.00.0050.00319.78
8.2.180.0200.00316.60
8.2.170.0100.01022.96
8.2.160.0100.00320.34
8.2.150.0050.00324.18
8.2.140.0040.00424.66
8.2.130.0060.00320.85
8.2.120.0080.00026.35
8.2.110.0100.00019.30
8.2.100.0120.00017.78
8.2.90.0040.00418.03
8.2.80.0050.00317.97
8.2.70.0080.00017.34
8.2.60.0040.00417.80
8.2.50.0040.00418.07
8.2.40.0030.00522.14
8.2.30.0060.00320.67
8.2.20.0000.00717.66
8.2.10.0000.00717.83
8.2.00.0040.00418.00
8.1.280.0100.01025.92
8.1.270.0050.00320.38
8.1.260.0080.00028.09
8.1.250.0060.00328.09
8.1.240.0030.00622.38
8.1.230.0090.00320.70
8.1.220.0040.00417.74
8.1.210.0090.00018.77
8.1.200.0000.01017.22
8.1.190.0060.00317.39
8.1.180.0000.00718.10
8.1.170.0070.00318.44
8.1.160.0000.00820.73
8.1.150.0040.00418.66
8.1.140.0020.00517.36
8.1.130.0000.00817.57
8.1.120.0040.00417.37
8.1.110.0020.00517.21
8.1.100.0000.00717.30
8.1.90.0000.00717.33
8.1.80.0050.00217.34
8.1.70.0000.00717.19
8.1.60.0030.00617.52
8.1.50.0040.00417.33
8.1.40.0080.00017.42
8.1.30.0050.00317.41
8.1.20.0070.00017.50
8.1.10.0040.00417.50
8.1.00.0000.00717.23
8.0.300.0040.00419.96
8.0.290.0040.00416.63
8.0.280.0030.00318.34
8.0.270.0000.00716.79
8.0.260.0060.00017.13
8.0.250.0030.00316.72
8.0.240.0030.00616.74
8.0.230.0030.00316.80
8.0.220.0070.00016.64
8.0.210.0000.00716.63
8.0.200.0000.00716.70
8.0.190.0060.00316.76
8.0.180.0050.00316.70
8.0.170.0000.00916.66
8.0.160.0050.00216.84
8.0.150.0000.00816.65
8.0.140.0080.00016.67
8.0.130.0030.00313.22
8.0.120.0040.00416.55
8.0.110.0040.00416.71
8.0.100.0050.00216.64
8.0.90.0000.00816.75
8.0.80.0060.01016.75
8.0.70.0040.00416.65
8.0.60.0030.00516.81
8.0.50.0070.00016.69
8.0.30.0060.01116.83
8.0.20.0090.00917.40
8.0.10.0060.00316.96
8.0.00.0090.00816.66
7.4.330.0050.00016.79
7.4.320.0030.00316.46
7.4.300.0060.00016.32
7.4.290.0050.00316.51
7.4.280.0040.00416.43
7.4.270.0050.00216.56
7.4.260.0040.00416.43
7.4.250.0070.00016.49
7.4.240.0050.00316.38
7.4.230.0000.00616.18
7.4.220.0130.00716.46
7.4.210.0040.01116.41
7.4.200.0050.00216.61
7.4.160.0130.00316.36
7.4.150.0140.00317.40
7.4.140.0070.01117.86
7.4.130.0120.00916.42
7.4.120.0160.00416.44
7.4.110.0130.00316.56
7.4.100.0130.00316.34
7.4.90.0090.00916.29
7.4.80.0080.00919.39
7.4.70.0160.00016.38
7.4.60.0180.00316.42
7.4.50.0040.01416.20
7.4.40.0090.01116.50
7.4.30.0090.00616.51
7.3.330.0020.00213.15
7.3.320.0000.00513.13
7.3.310.0050.00216.08
7.3.300.0040.00416.08
7.3.290.0110.00516.21
7.3.280.0090.00816.27
7.3.270.0120.00617.40
7.3.260.0080.00816.18
7.3.240.0130.00716.45
7.3.230.0170.00316.43
7.3.210.0030.01316.41
7.3.200.0060.01216.39
7.3.190.0030.01516.17
7.3.180.0070.01016.26
7.3.170.0060.01616.40
7.3.160.0030.01216.27
7.2.330.0130.00316.73
7.2.320.0130.00616.66
7.2.310.0110.00816.31
7.2.300.0070.01016.52
7.2.290.0030.01316.70
7.1.00.0070.07322.36
7.0.00.0100.07720.20
5.6.160.0070.08320.52
5.6.150.0200.06018.15
5.6.140.0070.08018.24
5.6.130.0030.04318.21
5.6.120.0030.08321.14
5.6.110.0100.08021.04
5.6.100.0100.08021.00
5.6.90.0030.07321.00
5.6.80.0200.06020.37
5.5.300.0000.05318.03
5.5.290.0100.07717.98
5.5.280.0070.06020.88
5.5.270.0070.06720.87
5.5.260.0070.04020.86
5.5.250.0070.03720.66
5.5.240.3570.03720.18

preferences:
50.9 ms | 404 KiB | 6 Q