3v4l.org

run code in 300+ PHP versions simultaneously
<?php declare(strict_types=1); /* Akzeptiert NULL Werte */ function test(int $obj=null) { } test(null); test(2);

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.01118.55
8.3.50.0080.01121.86
8.3.40.0150.00018.40
8.3.30.0070.00718.49
8.3.20.0070.00020.16
8.3.10.0000.00820.28
8.3.00.0000.00821.78
8.2.180.0000.01416.38
8.2.170.0070.00722.96
8.2.160.0070.00722.13
8.2.150.0090.00024.18
8.2.140.0030.00524.66
8.2.130.0050.00221.07
8.2.120.0040.00426.35
8.2.110.0050.00520.47
8.2.100.0090.00317.72
8.2.90.0040.00419.04
8.2.80.0000.00817.97
8.2.70.0060.00317.50
8.2.60.0000.00717.91
8.2.50.0000.01118.09
8.2.40.0040.00420.38
8.2.30.0070.00019.30
8.2.20.0040.00417.61
8.2.10.0000.00818.03
8.2.00.0000.00717.83
8.1.280.0100.00725.92
8.1.270.0050.00822.03
8.1.260.0040.00428.09
8.1.250.0030.00628.09
8.1.240.0060.00322.07
8.1.230.0040.00720.91
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0030.00617.00
8.1.190.0040.00417.10
8.1.180.0000.00818.10
8.1.170.0030.00618.65
8.1.160.0050.00320.57
8.1.150.0040.00418.81
8.1.140.0040.00419.43
8.1.130.0030.00517.52
8.1.120.0040.00417.26
8.1.110.0000.00717.39
8.1.100.0000.00717.30
8.1.90.0000.00717.21
8.1.80.0030.00517.31
8.1.70.0030.00317.34
8.1.60.0000.00717.52
8.1.50.0030.00617.45
8.1.40.0040.00417.50
8.1.30.0080.00017.58
8.1.20.0000.00717.36
8.1.10.0040.00417.31
8.1.00.0080.00017.31
8.0.300.0080.00018.77
8.0.290.0040.00416.63
8.0.280.0030.00318.32
8.0.270.0030.00317.04
8.0.260.0030.00317.00
8.0.250.0000.00616.77
8.0.240.0050.00316.80
8.0.230.0040.00416.75
8.0.220.0040.00416.71
8.0.210.0040.00416.68
8.0.200.0000.00616.76
8.0.190.0000.00816.88
8.0.180.0030.00316.77
8.0.170.0040.00416.85
8.0.160.0070.00016.87
8.0.150.0040.00416.72
8.0.140.0030.00316.65
8.0.130.0050.00313.16
8.0.120.0040.00416.62
8.0.110.0060.00316.79
8.0.100.0000.00716.64
8.0.90.0070.00016.82
8.0.80.0070.01016.80
8.0.70.0000.00716.63
8.0.60.0000.00716.63
8.0.50.0050.00316.66
8.0.30.0130.00616.89
8.0.20.0100.01117.40
8.0.10.0080.00016.72
8.0.00.0040.01316.70
7.4.330.0000.00516.84
7.4.320.0000.00716.27
7.4.300.0030.00316.45
7.4.290.0070.00016.45
7.4.280.0040.00416.53
7.4.270.0070.00216.54
7.4.260.0060.00316.49
7.4.250.0050.00516.39
7.4.240.0030.00616.47
7.4.230.0070.00016.44
7.4.220.0040.01416.57
7.4.210.0050.00916.54
7.4.200.0000.00716.23
7.4.160.0150.00716.60
7.4.150.0070.01017.40
7.4.140.0060.01517.86
7.4.130.0100.00816.46
7.4.120.0060.01216.37
7.4.110.0070.01016.71
7.4.100.0120.01316.55
7.4.90.0150.00416.38
7.4.80.0100.00719.39
7.4.70.0090.01516.38
7.4.60.0080.00816.52
7.4.50.0060.01216.23
7.4.40.0070.01116.38
7.4.30.0160.00016.40
7.4.00.0030.01214.70
7.3.330.0050.00013.03
7.3.320.0050.00013.27
7.3.310.0070.00016.36
7.3.300.0030.00316.26
7.3.290.0000.00616.25
7.3.280.0100.00916.23
7.3.270.0080.00817.40
7.3.260.0160.02316.29
7.3.250.0080.00916.42
7.3.240.0090.00916.37
7.3.230.0110.01016.39
7.3.210.0100.00616.44
7.3.200.0130.01016.45
7.3.190.0140.00416.45
7.3.180.0100.00716.23
7.3.170.0170.00016.54
7.3.160.0100.00716.28
7.2.330.0040.01516.20
7.2.320.0100.00716.52
7.2.310.0070.01416.23
7.2.300.0060.00916.59
7.2.290.0040.01316.69
7.2.60.0130.00316.89
7.2.00.0060.00618.96
7.1.200.0040.00815.37
7.1.100.0050.00517.84
7.1.70.0050.00317.16
7.1.60.0100.01419.24
7.1.50.0070.00316.64
7.1.00.0100.07022.33
7.0.200.0440.00714.48
7.0.60.0370.06719.93
7.0.50.0170.07017.87
7.0.40.0170.03320.09
7.0.30.0370.04320.15
7.0.20.0230.04720.23
7.0.10.0030.05320.15
7.0.00.0070.05020.16
5.6.280.0000.06021.11
5.6.210.0130.06720.77
5.6.200.0030.07018.18
5.6.190.0100.05320.59
5.6.180.0300.07720.34
5.6.170.0300.07720.50
5.6.160.0030.05020.51
5.6.150.0100.03318.16
5.6.140.0070.05718.16
5.6.130.0170.07718.19
5.6.120.0130.08720.99
5.6.110.0130.07021.02
5.6.100.0070.03720.96
5.6.90.0070.08021.07
5.6.80.0070.05020.45
5.5.350.0370.07320.43
5.5.340.0070.06718.09
5.5.330.0070.08320.40
5.5.320.0130.04720.38
5.5.310.0230.07320.28
5.5.300.0070.07317.95
5.5.290.0030.04317.95
5.5.280.0030.05720.77
5.5.270.0100.08320.97
5.5.260.0170.08020.81
5.5.250.0030.04020.79
5.5.240.0000.08020.16

preferences:
52.9 ms | 401 KiB | 5 Q