3v4l.org

run code in 300+ PHP versions simultaneously
<?php function test(string $a = NULL) { var_dump($a); } test(NULL); test('a');

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.0050.00816.50
8.3.50.0060.00920.23
8.3.40.0110.00418.76
8.3.30.0100.00319.10
8.3.20.0000.00724.18
8.3.10.0040.00424.66
8.3.00.0040.00426.16
8.2.180.0110.00725.92
8.2.170.0090.01218.74
8.2.160.0070.00722.96
8.2.150.0030.00625.66
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0030.00526.16
8.2.110.0030.00621.04
8.2.100.0000.01117.66
8.2.90.0030.00517.75
8.2.80.0000.00817.97
8.2.70.0080.00017.38
8.2.60.0090.00017.50
8.2.50.0030.00617.98
8.2.40.0040.00418.03
8.2.30.0060.00318.11
8.2.20.0070.00020.30
8.2.10.0040.00418.03
8.2.00.0050.00219.17
8.1.280.0000.01525.92
8.1.270.0080.00023.99
8.1.260.0080.00026.35
8.1.250.0050.00228.09
8.1.240.0000.01217.23
8.1.230.0040.00719.42
8.1.220.0080.00017.74
8.1.210.0040.00418.77
8.1.200.0100.00017.23
8.1.190.0040.00417.23
8.1.180.0030.00618.10
8.1.170.0000.00817.62
8.1.160.0040.00418.74
8.1.150.0000.00818.52
8.1.140.0050.00317.21
8.1.130.0000.00718.75
8.1.120.0000.00717.35
8.1.110.0040.00417.30
8.1.100.0000.00717.21
8.1.90.0080.00017.32
8.1.80.0060.00317.34
8.1.70.0030.00317.25
8.1.60.0000.00817.54
8.1.50.0050.00317.31
8.1.40.0130.00717.36
8.1.30.0220.00517.51
8.1.20.0140.01017.52
8.1.10.0090.00717.28
8.1.00.0100.00617.19
8.0.300.0080.00018.77
8.0.290.0000.00916.58
8.0.280.0030.00318.29
8.0.270.0050.00216.77
8.0.260.0030.00518.30
8.0.250.0050.00216.84
8.0.240.0040.00416.79
8.0.230.0030.00416.80
8.0.220.0030.00316.81
8.0.210.0000.00716.64
8.0.200.0000.00716.73
8.0.190.0040.00416.76
8.0.180.0040.00416.70
8.0.170.0040.00716.74
8.0.160.0140.00516.72
8.0.150.0100.00616.60
8.0.140.0090.00216.71
8.0.130.0130.00616.66
8.0.120.0150.00416.67
8.0.110.0120.00716.71
8.0.100.0180.00516.70
8.0.90.0170.00616.73
8.0.80.0180.00516.59
8.0.70.0190.00516.65
8.0.60.0200.00316.67
8.0.50.0160.00316.62
8.0.30.0130.00816.57
8.0.20.0160.00316.76
8.0.10.0190.00116.87
7.4.330.0000.00615.55
7.4.320.0030.00316.44
7.4.300.0000.00716.41
7.4.290.0080.00016.47
7.4.280.0030.00316.40
7.4.270.0170.00416.47
7.4.260.0190.00416.41
7.4.250.0190.00416.38
7.4.240.0160.00516.47
7.4.230.0150.00716.48
7.4.220.0150.00416.44
7.4.210.0130.00316.38
7.4.200.0170.00416.47
7.4.190.0140.00816.48
7.4.180.0150.00716.44
7.4.160.0150.00616.51
7.4.150.0140.00716.45
7.4.140.0160.00316.27
7.4.130.0130.00816.28
7.4.120.0150.00416.26
7.4.110.0130.00616.30
7.4.100.0150.00416.36
7.4.90.0180.00216.27
7.4.80.0160.00416.29
7.4.70.0190.00116.18
7.4.60.0170.00216.24
7.4.50.0080.00416.18
7.4.40.0130.00716.20
7.4.30.0120.00416.19
7.4.20.0080.00516.28
7.4.10.0100.00316.24
7.4.00.0040.00516.21

preferences:
69.1 ms | 400 KiB | 5 Q