3v4l.org

run code in 300+ PHP versions simultaneously
<?php function f($x = 5) { } f(10, 10);

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.0060.00918.55
8.3.50.0040.01120.21
8.3.40.0100.00719.93
8.3.30.0110.00318.92
8.3.20.0000.00724.18
8.3.10.0050.00324.66
8.3.00.0040.00426.16
8.2.180.0100.00625.92
8.2.170.0000.01418.84
8.2.160.0100.00322.96
8.2.150.0020.00525.66
8.2.140.0070.00024.66
8.2.130.0040.00426.16
8.2.120.0080.00019.65
8.2.110.0100.00022.20
8.2.100.0090.00317.59
8.2.90.0030.00517.50
8.2.80.0000.01117.97
8.2.70.0080.00017.38
8.2.60.0030.00617.38
8.2.50.0050.00317.98
8.2.40.0030.00717.99
8.2.30.0000.00717.92
8.2.20.0030.00520.31
8.2.10.0030.00517.91
8.2.00.0040.00419.16
8.1.280.0070.01425.92
8.1.270.0040.00423.99
8.1.260.0040.00426.35
8.1.250.0050.00228.09
8.1.240.0060.00323.80
8.1.230.0080.00419.07
8.1.220.0080.00017.74
8.1.210.0040.00418.77
8.1.200.0000.01017.23
8.1.190.0000.00817.10
8.1.180.0040.00418.10
8.1.170.0040.00417.62
8.1.160.0040.00418.71
8.1.150.0000.00718.56
8.1.140.0000.00717.23
8.1.130.0000.00818.67
8.1.120.0000.00717.26
8.1.110.0020.00517.31
8.1.100.0000.00717.38
8.1.90.0090.00017.34
8.1.80.0000.00717.37
8.1.70.0030.00317.21
8.1.60.0030.00917.50
8.1.50.0140.00017.36
8.1.40.0120.00417.37
8.1.30.0160.00317.48
8.1.20.0170.00317.60
8.1.10.0170.00217.45
8.1.00.0100.01017.20
8.0.300.0080.00019.68
8.0.290.0030.00716.58
8.0.280.0030.00318.39
8.0.270.0080.00016.74
8.0.260.0000.00618.30
8.0.250.0000.00716.79
8.0.240.0070.00016.72
8.0.230.0030.00616.84
8.0.220.0000.00716.64
8.0.210.0000.00716.76
8.0.200.0000.00616.80
8.0.190.0100.00716.82
8.0.180.0080.01016.66
8.0.170.0170.00016.73
8.0.160.0100.00516.69
8.0.150.0110.00616.66
8.0.140.0060.00816.57
8.0.130.0160.00316.77
8.0.120.0090.00916.81
8.0.110.0080.00816.67
8.0.100.0180.00016.55
8.0.90.0190.00016.60
8.0.80.0080.00816.72
8.0.70.0110.00516.73
8.0.60.0090.00616.66
8.0.50.0110.00516.72
8.0.30.0130.00016.77
8.0.20.0110.00316.78
8.0.10.0060.00916.87
7.4.330.0050.00015.55
7.4.320.0050.00316.40
7.4.300.0040.00416.34
7.4.290.0130.00416.57
7.4.280.0120.00616.33
7.4.270.0150.00316.52
7.4.260.0110.00416.52
7.4.250.0120.00616.30
7.4.240.0120.00616.41
7.4.230.0150.00316.42
7.4.220.0110.00416.52
7.4.210.0130.00416.38
7.4.200.0110.00416.31
7.4.190.0120.00316.43
7.4.180.0150.00016.58
7.4.160.0130.00316.43
7.4.150.0120.00316.33
7.4.140.0090.00416.35
7.4.130.0100.00516.28
7.4.120.0120.00016.31
7.4.110.0120.00016.29
7.4.100.0110.00416.44
7.4.90.0140.00016.35
7.4.80.0100.00416.19
7.4.70.0050.00516.36
7.4.60.0140.00016.25
7.4.50.0050.00916.25
7.4.40.0120.00316.21
7.4.30.0060.00616.29
7.4.20.0150.00016.27
7.4.10.0100.00516.36
7.4.00.0090.00016.21

preferences:
53.5 ms | 400 KiB | 5 Q