3v4l.org

run code in 300+ PHP versions simultaneously
<?php declare(strict_types=1); function x(string $x = null) { } x(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.75
8.3.50.0110.00416.48
8.3.40.0090.01218.66
8.3.30.0090.00618.38
8.3.20.0040.01420.33
8.3.10.0080.00021.63
8.3.00.0120.00622.10
8.2.180.0110.01116.38
8.2.170.0030.01722.96
8.2.160.0070.00720.53
8.2.150.0120.00624.18
8.2.140.0040.00424.66
8.2.130.0040.00421.13
8.2.120.0080.00026.35
8.2.110.0030.00720.93
8.2.100.0100.00317.73
8.2.90.0000.00818.96
8.2.80.0070.00017.97
8.2.70.0000.00917.38
8.2.60.0040.00417.68
8.2.50.0030.00518.10
8.2.40.0040.00420.61
8.2.30.0040.00420.96
8.2.20.0080.00017.90
8.2.10.0050.00217.79
8.2.00.0000.00717.86
8.1.280.0070.00725.92
8.1.270.0070.00022.10
8.1.260.0050.00326.35
8.1.250.0080.00028.09
8.1.240.0000.00923.98
8.1.230.0060.00618.79
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0060.00317.23
8.1.190.0000.00817.10
8.1.180.0040.00418.10
8.1.170.0040.00418.88
8.1.160.0000.00718.94
8.1.150.0040.00420.42
8.1.140.0040.00419.43
8.1.130.0000.00718.75
8.1.120.0000.00717.29
8.1.110.0040.00417.22
8.1.100.0060.00317.29
8.1.90.0000.00717.32
8.1.80.0050.00317.36
8.1.70.0040.00417.27
8.1.60.0000.00817.52
8.1.50.0030.00617.32
8.1.40.0030.00617.44
8.1.30.0040.00417.47
8.1.20.0040.00417.40
8.1.10.0000.00817.26
8.1.00.0030.00617.35
8.0.300.0000.00718.77
8.0.290.0040.00416.63
8.0.280.0030.00318.35
8.0.270.0070.00017.13
8.0.260.0000.00716.69
8.0.250.0000.00716.71
8.0.240.0050.00216.77
8.0.230.0030.00316.83
8.0.220.0000.00716.67
8.0.210.0000.00716.82
8.0.200.0080.00016.73
8.0.190.0040.00416.72
8.0.180.0040.00416.67
8.0.170.0000.00716.74
8.0.160.0070.00016.77
8.0.150.0000.00916.59
8.0.140.0040.00416.74
8.0.130.0090.00013.14
8.0.120.0070.00016.63
8.0.110.0070.00016.79
8.0.100.0020.00516.75
8.0.90.0040.00416.77
8.0.80.0070.01416.70
8.0.70.0000.00716.53
8.0.60.0000.00816.80
8.0.50.0030.00316.75
8.0.30.0070.01116.90
8.0.20.0100.00817.40
8.0.10.0080.00016.70
8.0.00.0120.00616.61
7.4.330.0000.00615.55
7.4.320.0000.00616.29
7.4.300.0000.00716.52
7.4.290.0080.00016.48
7.4.280.0040.00416.34
7.4.270.0060.00016.51
7.4.260.0000.00916.43
7.4.250.0050.00216.50
7.4.240.0070.00016.53
7.4.230.0040.00416.36
7.4.220.0090.00916.39
7.4.210.0110.00516.40
7.4.200.0040.00216.28
7.4.160.0100.00616.47
7.4.150.0150.00317.40
7.4.140.0120.00817.86
7.4.130.0180.00016.33
7.4.120.0100.01216.45
7.4.110.0040.01216.37
7.4.100.0140.00416.64
7.4.90.0120.00516.38
7.4.80.0120.00419.39
7.4.70.0110.00616.30
7.4.60.0030.01316.56
7.4.50.0070.00716.44
7.4.40.0030.01316.44
7.4.30.0130.00316.37
7.4.00.0110.00414.77
7.3.330.0020.00213.10
7.3.320.0000.00513.05
7.3.310.0030.00616.13
7.3.300.0030.00316.20
7.3.290.0070.01016.20
7.3.280.0090.00616.21
7.3.270.0120.00617.40
7.3.260.0080.00816.53
7.3.250.0060.01516.17
7.3.240.0070.01116.37
7.3.230.0210.00316.64
7.3.210.0080.00816.21
7.3.200.0060.01516.19
7.3.190.0130.00316.41
7.3.180.0130.00416.32
7.3.170.0060.01016.43
7.3.160.0120.01016.20
7.3.120.0060.01214.68
7.3.110.0030.01014.82
7.3.100.0100.00314.95
7.3.90.0100.00014.62
7.3.80.0000.01314.49
7.3.70.0060.00614.57
7.3.60.0100.00614.81
7.3.50.0070.00714.81
7.3.40.0090.00014.63
7.3.30.0040.00714.78
7.3.20.0060.00916.60
7.3.10.0070.00716.28
7.3.00.0060.01216.57
7.2.330.0070.01116.48
7.2.320.0030.01316.49
7.2.310.0070.01016.54
7.2.300.0130.00616.41
7.2.290.0100.00716.48
7.2.250.0100.00714.45
7.2.240.0120.00615.12
7.2.230.0030.00614.81
7.2.220.0030.01014.52
7.2.210.0060.00314.77
7.2.200.0030.01014.48
7.2.190.0060.00914.58
7.2.180.0060.00914.82
7.2.170.0070.00714.79
7.2.60.0040.00816.80
7.2.00.0030.00819.38
7.1.330.0100.00315.80
7.1.320.0110.00315.64
7.1.310.0070.01015.81
7.1.300.0050.00515.59
7.1.290.0030.00915.67
7.1.280.0000.01315.59
7.1.270.0070.01115.48
7.1.260.0120.00615.66
7.1.200.0040.00415.36
7.1.100.0040.00817.89
7.1.70.0030.01817.17
7.1.60.0280.00935.06
7.1.50.0190.01034.68
7.1.40.0260.00734.36
7.1.30.0230.01034.39
7.1.20.0240.00934.52
7.1.10.0030.01316.54
7.1.00.0040.01116.42
7.0.200.0100.00516.34
7.0.190.0030.01216.58
7.0.180.0000.01516.22
7.0.170.0000.01716.05
7.0.160.0080.00916.13
7.0.150.0060.00916.18
7.0.140.0040.01416.00
7.0.130.0060.00916.32
7.0.120.0090.00616.32
7.0.110.0040.01216.16
7.0.100.0050.01116.14
7.0.90.0030.01016.23
7.0.80.0080.01216.30
7.0.70.0000.01716.42
7.0.60.0060.01215.89
7.0.50.0000.01516.11
7.0.40.0090.00716.22
7.0.30.0030.01516.25
7.0.20.0060.01216.29
7.0.10.0110.00716.27
7.0.00.0110.00716.16

preferences:
43.07 ms | 401 KiB | 5 Q