3v4l.org

run code in 300+ PHP versions simultaneously
<?php declare(strict_types = 1); function test(int $x = null) { var_dump($x); } test('565');

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.0140.00018.43
8.3.50.0090.01121.08
8.3.40.0060.00918.68
8.3.30.0090.00618.69
8.3.20.0000.00720.16
8.3.10.0040.00421.86
8.3.00.0050.00223.61
8.2.180.0150.00416.48
8.2.170.0100.01022.96
8.2.160.0120.00320.47
8.2.150.0060.00324.18
8.2.140.0040.00424.66
8.2.130.0080.00020.86
8.2.120.0080.00026.35
8.2.110.0030.00619.14
8.2.100.0000.01117.68
8.2.90.0040.00419.05
8.2.80.0000.00817.97
8.2.70.0060.00317.63
8.2.60.0040.00417.68
8.2.50.0000.00818.09
8.2.40.0060.00322.30
8.2.30.0000.00819.25
8.2.20.0000.00817.73
8.2.10.0040.00418.09
8.2.00.0050.00317.94
8.1.280.0140.00425.92
8.1.270.0090.00922.14
8.1.260.0040.00728.09
8.1.250.0050.00328.09
8.1.240.0030.00722.48
8.1.230.0060.00617.70
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0000.00917.35
8.1.190.0040.00417.13
8.1.180.0000.00818.10
8.1.170.0040.00418.59
8.1.160.0040.00420.62
8.1.150.0070.00018.63
8.1.140.0040.00419.44
8.1.130.0040.00417.57
8.1.120.0030.00317.29
8.1.110.0030.00417.25
8.1.100.0040.00417.37
8.1.90.0030.00617.18
8.1.80.0030.00317.35
8.1.70.0030.00317.38
8.1.60.0000.00817.51
8.1.50.0040.00417.50
8.1.40.0100.00017.46
8.1.30.0030.00617.55
8.1.20.0040.00417.52
8.1.10.0000.00817.52
8.1.00.0040.00417.50
8.0.300.0040.00418.77
8.0.290.0060.00316.75
8.0.280.0060.00318.29
8.0.270.0050.00217.18
8.0.260.0060.00017.09
8.0.250.0000.00616.83
8.0.240.0080.00016.99
8.0.230.0040.00416.93
8.0.220.0040.00416.88
8.0.210.0070.00016.88
8.0.200.0020.00516.97
8.0.190.0050.00516.88
8.0.180.0070.00016.91
8.0.170.0000.00816.93
8.0.160.0030.00316.81
8.0.150.0000.01016.79
8.0.140.0040.00416.83
8.0.130.0030.00313.27
8.0.120.0040.00416.86
8.0.110.0080.00016.85
8.0.100.0040.00416.77
8.0.90.0030.00417.00
8.0.80.0070.00716.83
8.0.70.0000.00716.90
8.0.60.0040.00416.70
8.0.50.0070.00016.88
8.0.30.0090.01117.10
8.0.20.0070.01117.40
8.0.10.0040.00416.93
8.0.00.0080.01016.68
7.4.330.0020.00216.84
7.4.320.0030.00316.46
7.4.300.0030.00616.41
7.4.290.0070.00016.55
7.4.280.0050.00216.50
7.4.270.0030.00316.38
7.4.260.0050.00216.41
7.4.250.0030.00516.54
7.4.240.0070.00016.50
7.4.230.0050.00216.64
7.4.220.0140.01116.52
7.4.210.0070.00716.44
7.4.200.0040.00416.28
7.4.160.0100.00616.39
7.4.150.0120.00617.40
7.4.140.0110.00817.86
7.4.130.0120.00616.48
7.4.120.0070.01016.54
7.4.110.0120.00616.35
7.4.100.0140.00316.51
7.4.90.0130.00616.52
7.4.80.0040.01419.39
7.4.70.0100.01016.57
7.4.60.0140.01016.24
7.4.50.0030.01016.28
7.4.40.0140.00616.59
7.4.30.0130.00416.72
7.4.00.0100.00314.73
7.3.330.0030.00313.15
7.3.320.0000.00613.25
7.3.310.0030.00316.25
7.3.300.0050.00316.30
7.3.290.0070.00016.18
7.3.280.0070.00716.27
7.3.270.0130.00417.40
7.3.260.0090.00916.41
7.3.250.0140.00516.34
7.3.240.0090.01416.37
7.3.230.0100.00716.39
7.3.210.0100.00716.53
7.3.200.0030.01419.39
7.3.190.0110.00616.38
7.3.180.0090.00916.57
7.3.170.0130.00316.30
7.3.160.0040.01116.32
7.3.10.0020.01316.51
7.3.00.0040.00916.63
7.2.330.0110.00616.24
7.2.320.0130.00316.31
7.2.310.0090.00916.49
7.2.300.0090.00616.62
7.2.290.0090.01216.43
7.2.130.0080.00316.59
7.2.120.0020.01016.79
7.2.110.0080.00516.84
7.2.100.0070.00716.78
7.2.90.0030.00816.87
7.2.80.0070.00416.88
7.2.70.0070.00816.94
7.2.60.0050.00616.89
7.2.50.0050.00516.90
7.2.40.0070.00716.67
7.2.30.0070.00816.61
7.2.20.0070.01016.72
7.2.10.0070.00616.71
7.2.00.0040.00917.53
7.1.250.0050.00715.77
7.1.200.0090.00015.63
7.1.100.0080.00417.07
7.1.70.0040.01216.89
7.1.60.0110.01419.40
7.1.50.0060.01616.95
7.1.00.0070.07322.44
7.0.200.0090.00016.66
7.0.60.0200.04721.88
7.0.50.0100.07717.94
7.0.40.0030.06020.11
7.0.30.0130.05320.23
7.0.20.0330.07720.24
7.0.10.0030.04720.15
7.0.00.0130.06020.23
5.6.280.0000.05020.99
5.6.210.0100.07720.61
5.6.200.0030.04018.18
5.6.190.0030.04320.46
5.6.180.0230.08320.41
5.6.170.0170.04720.50
5.6.160.0070.07720.61
5.6.150.0130.08018.18
5.6.140.0070.07018.15
5.6.130.0030.08718.15
5.6.120.0030.06321.00
5.6.110.0000.05021.12
5.6.100.0130.08321.02
5.6.90.0100.05721.11
5.6.80.0030.08320.52
5.5.350.0170.05320.48
5.5.340.0030.04318.02
5.5.330.0070.05320.43
5.5.320.0200.04720.29
5.5.310.0430.04720.32
5.5.300.0130.07317.95
5.5.290.0070.05018.03
5.5.280.0100.07720.96
5.5.270.0100.05020.68
5.5.260.0170.07720.84
5.5.250.0130.06020.59
5.5.240.0130.08320.15

preferences:
56.65 ms | 401 KiB | 5 Q