3v4l.org

run code in 300+ PHP versions simultaneously
<?php $week_start=(new DateTime())->format('Y,W'); $week_start_var=(new DateTime())->format('Y,W'); $week_start->setISODate($week_start_var); echo $week_start->format('D Y-m-d');

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.00716.88
8.3.50.0100.01022.05
8.3.40.0080.00819.13
8.3.30.0190.00318.96
8.3.20.0060.00320.30
8.3.10.0130.00723.55
8.3.00.0030.00619.61
8.2.180.0120.00618.66
8.2.170.0110.01122.96
8.2.160.0040.01122.12
8.2.150.0040.00724.18
8.2.140.0050.00324.66
8.2.130.0110.00017.63
8.2.120.0060.00326.35
8.2.110.0030.00620.53
8.2.100.0040.00718.03
8.2.90.0040.00419.02
8.2.80.0120.00417.97
8.2.70.0060.00317.88
8.2.60.0040.00417.80
8.2.50.0080.00018.07
8.2.40.0040.00419.37
8.2.30.0040.00420.65
8.2.20.0040.00917.77
8.2.10.0050.00318.11
8.2.00.0000.00717.92
8.1.280.0090.00625.92
8.1.270.0000.00922.14
8.1.260.0090.00928.09
8.1.250.0090.00928.09
8.1.240.0090.00322.04
8.1.230.0070.00422.65
8.1.220.0040.00417.74
8.1.210.0080.00018.77
8.1.200.0030.00617.47
8.1.190.0040.00417.48
8.1.180.0030.00518.10
8.1.170.0090.00918.73
8.1.160.0040.00421.99
8.1.150.0040.00418.92
8.1.140.0000.00819.64
8.1.130.0040.00417.64
8.1.120.0070.00017.49
8.1.110.0050.00317.65
8.1.100.0080.00017.50
8.1.90.0040.00417.50
8.1.80.0070.00017.59
8.1.70.0000.00717.45
8.1.60.0030.00617.54
8.1.50.0030.00517.71
8.1.40.0000.00817.71
8.1.30.0000.00817.74
8.1.20.0040.00417.80
8.1.10.0000.00717.69
8.1.00.0080.00017.67
8.0.300.0000.00818.77
8.0.290.0070.00016.75
8.0.280.0000.00718.33
8.0.270.0000.00717.26
8.0.260.0000.00717.14
8.0.250.0000.00717.09
8.0.240.0000.00717.05
8.0.230.0070.00017.22
8.0.220.0000.00717.10
8.0.210.0000.00717.13
8.0.200.0090.00017.19
8.0.190.0000.00817.14
8.0.180.0000.00817.07
8.0.170.0070.00417.11
8.0.160.0050.00317.12
8.0.150.0030.00517.05
8.0.140.0000.00716.92
8.0.130.0000.00613.43
8.0.120.0080.00016.95
8.0.110.0030.00617.00
8.0.100.0000.00717.12
8.0.90.0070.00017.05
8.0.80.0120.00317.05
8.0.70.0090.00017.07
8.0.60.0030.00517.07
8.0.50.0000.00817.00
8.0.30.0060.01317.25
8.0.20.0080.01417.40
8.0.10.0040.00417.27
8.0.00.0130.00516.87
7.4.330.0020.00216.72
7.4.320.0050.00316.61
7.4.300.0030.00316.63
7.4.290.0040.00416.74
7.4.280.0040.00416.72
7.4.270.0070.00016.70
7.4.260.0040.00416.70
7.4.250.0000.00716.61
7.4.240.0060.00116.71
7.4.230.0050.00216.49
7.4.220.0090.00916.66
7.4.210.0160.00316.58
7.4.200.0050.00216.54
7.4.160.0130.00316.57
7.4.150.0100.01417.40
7.4.140.0100.01517.86
7.4.130.0120.01416.69
7.4.120.0100.00816.71
7.4.110.0060.01016.71
7.4.100.0090.01316.83
7.4.90.0070.01016.76
7.4.80.0060.01319.39
7.4.70.0080.00816.55
7.4.60.0120.00616.45
7.4.50.0060.01016.73
7.4.40.0100.00716.61
7.4.30.0060.01216.51
7.4.00.0000.01115.43
7.3.330.0030.00313.29
7.3.320.0030.00313.12
7.3.310.0030.00316.25
7.3.300.0030.00516.39
7.3.290.0080.00816.33
7.3.280.0050.01216.36
7.3.270.0220.00017.40
7.3.260.0070.01416.62
7.3.240.0080.00816.64
7.3.230.0100.00716.60
7.3.210.0100.01016.64
7.3.200.0130.00316.54
7.3.190.0070.01316.64
7.3.180.0180.00316.41
7.3.170.0090.00916.46
7.3.160.0130.00316.38
7.3.10.0060.00616.58
7.3.00.0030.01316.65
7.2.330.0120.00616.82
7.2.320.0130.01016.86
7.2.310.0000.01916.72
7.2.300.0150.00916.68
7.2.290.0090.01216.75
7.2.130.0060.00617.00
7.2.120.0030.01016.81
7.2.110.0070.00717.12
7.2.100.0060.00317.01
7.2.90.0030.00617.09
7.2.80.0040.00817.07
7.2.70.0060.00616.59
7.2.60.0080.00516.81
7.2.50.0060.00917.05
7.2.40.0000.01516.78
7.2.30.0040.01116.66
7.2.20.0040.00716.89
7.2.10.0060.00617.02
7.2.00.0070.01017.61
7.1.250.0100.00315.80
7.1.200.0070.00715.62
7.1.100.0070.00718.14
7.1.70.0000.00817.18
7.1.60.0070.01319.48
7.1.50.0030.01917.02
7.1.00.0030.07722.45
7.0.200.0350.00714.60
7.0.60.0030.05319.89
7.0.50.0030.04017.80
7.0.40.0030.05320.09
7.0.30.0230.05020.30
7.0.20.0300.04720.12
7.0.10.0030.09320.16
7.0.00.0100.08020.12
5.6.280.0030.05020.78
5.6.210.0070.04020.47
5.6.200.0030.08318.15
5.6.190.0100.05320.43
5.6.180.0270.05020.27
5.6.170.0270.05720.50
5.6.160.0100.03720.54
5.6.150.0030.06318.18
5.6.140.0100.05318.12
5.6.130.0200.07018.18
5.6.120.0030.05721.15
5.6.110.0100.08320.97
5.6.100.0030.08721.00
5.6.90.0100.05720.93
5.6.80.0100.08320.38
5.5.350.3900.04320.40
5.5.340.0030.04017.98
5.5.330.0070.06320.43
5.5.320.0330.03320.29
5.5.310.0200.05020.31
5.5.300.0100.03718.05
5.5.290.0100.05318.02
5.5.280.0030.04020.84
5.5.270.0030.08720.72
5.5.260.0030.09320.84
5.5.250.0100.08320.77
5.5.240.0170.07320.23

preferences:
50.31 ms | 401 KiB | 5 Q