3v4l.org

run code in 300+ PHP versions simultaneously
<?php declare(strict_types=1); function test(int $test = null) { } 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.01018.30
8.3.50.0060.01016.17
8.3.40.0150.00018.73
8.3.30.0100.00718.54
8.3.20.0070.00020.04
8.3.10.0060.00321.96
8.3.00.0110.00419.56
8.2.180.0030.01016.32
8.2.170.0170.00322.96
8.2.160.0140.00318.83
8.2.150.0090.00924.18
8.2.140.0070.00024.66
8.2.130.0000.00719.33
8.2.120.0070.01026.35
8.2.110.0000.00920.33
8.2.100.0070.00417.72
8.2.90.0000.00819.09
8.2.80.0040.00417.97
8.2.70.0040.00417.38
8.2.60.0050.00317.92
8.2.50.0000.00818.10
8.2.40.0000.00720.38
8.2.30.0070.00019.08
8.2.20.0040.00418.00
8.2.10.0040.00417.91
8.2.00.0050.00217.93
8.1.280.0100.01025.92
8.1.270.0140.00322.04
8.1.260.0140.00426.35
8.1.250.0040.00428.09
8.1.240.0090.00022.81
8.1.230.0080.00317.70
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0090.00417.10
8.1.190.0000.00817.22
8.1.180.0030.00518.10
8.1.170.0000.00918.36
8.1.160.0070.00018.86
8.1.150.0080.00020.55
8.1.140.0040.00419.50
8.1.130.0020.00518.67
8.1.120.0030.00517.23
8.1.110.0000.00817.24
8.1.100.0030.00517.21
8.1.90.0040.00417.20
8.1.80.0070.00017.21
8.1.70.0040.00417.31
8.1.60.0030.00517.40
8.1.50.0040.00417.45
8.1.40.0070.00017.31
8.1.30.0030.00617.51
8.1.20.0000.00717.48
8.1.10.0080.00017.27
8.1.00.0000.00717.30
8.0.300.0040.00418.77
8.0.290.0050.00316.58
8.0.280.0000.00718.35
8.0.270.0030.00317.05
8.0.260.0030.00316.57
8.0.250.0030.00516.86
8.0.240.0000.01016.85
8.0.230.0030.00616.71
8.0.220.0030.00316.76
8.0.210.0070.00016.72
8.0.200.0060.00016.82
8.0.190.0100.00016.82
8.0.180.0000.00816.84
8.0.170.0040.00416.79
8.0.160.0070.00016.74
8.0.150.0000.00816.56
8.0.140.0000.00716.59
8.0.130.0060.00013.14
8.0.120.0030.00616.71
8.0.110.0040.00416.63
8.0.100.0080.00016.82
8.0.90.0030.00316.54
8.0.80.0170.00016.70
8.0.70.0040.00416.79
8.0.60.0030.00516.80
8.0.50.0000.00716.66
8.0.30.0070.01217.02
8.0.20.0070.01217.40
8.0.10.0050.00216.76
8.0.00.0120.00416.50
7.4.330.0000.00515.55
7.4.320.0070.00016.35
7.4.300.0060.00016.34
7.4.290.0070.00416.43
7.4.280.0070.00016.51
7.4.270.0050.00216.51
7.4.260.0070.00016.48
7.4.250.0070.00016.42
7.4.240.0040.00416.45
7.4.230.0040.00416.60
7.4.220.0040.01416.35
7.4.210.0100.00316.38
7.4.200.0000.00716.36
7.4.160.0050.01116.41
7.4.150.0090.01217.40
7.4.140.0080.00917.86
7.4.130.0130.01316.33
7.4.120.0090.01116.54
7.4.110.0060.01016.53
7.4.100.0060.01016.39
7.4.90.0130.00316.66
7.4.80.0110.00719.39
7.4.70.0100.00616.35
7.4.60.0140.00416.20
7.4.50.0030.01016.46
7.4.40.0060.01216.39
7.4.30.0090.01216.48
7.4.00.0090.00914.68
7.3.330.0000.00613.06
7.3.320.0030.00313.09
7.3.310.0000.00716.27
7.3.300.0030.00316.15
7.3.290.0090.00516.27
7.3.280.0060.01116.20
7.3.270.0040.01317.40
7.3.260.0180.01116.30
7.3.250.0120.00716.19
7.3.240.0080.01016.35
7.3.230.0100.00616.22
7.3.210.0130.00316.29
7.3.200.0070.01016.39
7.3.190.0120.00316.15
7.3.180.0000.01616.29
7.3.170.0090.00616.28
7.3.160.0070.01016.18
7.3.120.0100.00314.53
7.3.110.0090.00914.75
7.3.100.0060.00914.85
7.3.90.0090.00914.57
7.3.80.0040.01114.80
7.3.70.0030.00914.57
7.3.60.0060.00614.63
7.3.50.0000.01114.66
7.3.40.0110.00014.44
7.3.30.0030.01014.77
7.3.20.0070.01016.61
7.3.10.0030.01316.42
7.3.00.0000.01116.80
7.2.330.0060.01216.64
7.2.320.0030.01216.62
7.2.310.0150.00416.12
7.2.300.0140.00316.54
7.2.290.0070.01416.19
7.2.250.0100.01014.95
7.2.240.0140.00714.62
7.2.230.0070.00714.78
7.2.220.0030.01214.76
7.2.210.0030.01014.86
7.2.200.0090.00614.77
7.2.190.0150.00014.92
7.2.180.0040.00414.62
7.2.170.0100.00714.99
7.2.80.0050.00516.20
7.2.60.0100.00716.81
7.2.00.0060.00619.16
7.1.330.0030.01015.55
7.1.320.0000.00815.50
7.1.310.0080.00415.52
7.1.300.0070.00715.43
7.1.290.0060.00615.66
7.1.280.0060.00915.66
7.1.270.0070.01015.39
7.1.260.0090.00315.66
7.1.200.0070.00715.35
7.1.100.0060.00618.02
7.1.70.0060.01116.74
7.1.60.0150.02135.13
7.1.50.0190.01634.68
7.1.40.0140.02134.15
7.1.30.0180.01734.51
7.1.20.0170.01734.40
7.1.10.0100.00716.58
7.1.00.0030.01216.43
7.0.200.0050.01316.57
7.0.190.0060.01016.62
7.0.180.0030.01316.08
7.0.170.0030.01415.94
7.0.160.0040.01216.07
7.0.150.0050.01316.22
7.0.140.0060.01216.40
7.0.130.0070.01016.50
7.0.120.0110.00616.67
7.0.110.0060.01416.17
7.0.100.0070.01216.46
7.0.90.0020.00716.19
7.0.80.0060.01016.21
7.0.70.0070.01116.15
7.0.60.0000.01916.04
7.0.50.0030.01316.19
7.0.40.0120.00816.54
7.0.30.0060.01316.50
7.0.20.0070.01016.25
7.0.10.0090.00916.53
7.0.00.0070.01116.34

preferences:
47.42 ms | 401 KiB | 5 Q