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.40.0110.01118.86
8.3.30.0110.00419.09
8.3.20.0040.00420.30
8.3.10.0120.00623.69
8.3.00.0060.00319.38
8.2.170.0150.00622.96
8.2.160.0040.01122.08
8.2.150.0030.00724.18
8.2.140.0080.00024.66
8.2.130.0070.00317.63
8.2.120.0030.00626.35
8.2.110.0060.00320.95
8.2.100.0080.00418.03
8.2.90.0040.00419.05
8.2.80.0030.00617.97
8.2.70.0050.00317.63
8.2.60.0000.00817.80
8.2.50.0030.00618.10
8.2.40.0070.00020.42
8.2.30.0040.00420.71
8.2.20.0030.00717.88
8.2.10.0030.00617.92
8.2.00.0000.00718.11
8.1.270.0030.00522.25
8.1.260.0060.00328.09
8.1.250.0080.00028.09
8.1.240.0070.00320.99
8.1.230.0040.00819.36
8.1.220.0000.00717.74
8.1.210.0040.00418.77
8.1.200.0030.00717.60
8.1.190.0050.00317.48
8.1.180.0030.00618.10
8.1.170.0000.00818.77
8.1.160.0000.00721.92
8.1.150.0060.00318.78
8.1.140.0040.00419.58
8.1.130.0000.00817.69
8.1.120.0000.00817.52
8.1.110.0000.00717.48
8.1.100.0040.00417.52
8.1.90.0040.00417.59
8.1.80.0030.00417.57
8.1.70.0000.00717.51
8.1.60.0030.00617.60
8.1.50.0030.00617.56
8.1.40.0000.00917.57
8.1.30.0050.00317.83
8.1.20.0030.00617.81
8.1.10.0040.00417.68
8.1.00.0030.00517.70
8.0.300.0050.00318.77
8.0.290.0020.00517.00
8.0.280.0030.00318.38
8.0.270.0000.00717.33
8.0.260.0030.00317.19
8.0.250.0040.00417.04
8.0.240.0040.00417.05
8.0.230.0040.00417.16
8.0.220.0000.00717.07
8.0.210.0030.00317.14
8.0.200.0040.00417.19
8.0.190.0030.00517.17
8.0.180.0070.00017.14
8.0.170.0040.00417.12
8.0.160.0000.00817.00
8.0.150.0000.00717.08
8.0.140.0030.00516.97
8.0.130.0060.00013.46
8.0.120.0040.00416.93
8.0.110.0090.00016.94
8.0.100.0050.00316.89
8.0.90.0030.00517.00
8.0.80.0070.01417.05
8.0.70.0000.00916.88
8.0.60.0000.00816.96
8.0.50.0050.00316.89
8.0.30.0130.00517.39
8.0.20.0100.00917.45
8.0.10.0040.00417.28
8.0.00.0110.00917.00
7.4.330.0050.00016.79
7.4.320.0000.00816.66
7.4.300.0000.00716.66
7.4.290.0000.00716.73
7.4.280.0040.00416.76
7.4.270.0000.00716.77
7.4.260.0000.00816.61
7.4.250.0000.00816.56
7.4.240.0030.00316.62
7.4.230.0000.00716.77
7.4.220.0100.01016.73
7.4.210.0090.00616.75
7.4.200.0000.00716.64
7.4.160.0120.00316.64
7.4.150.0120.00617.40
7.4.140.0090.01317.86
7.4.130.0110.00916.75
7.4.120.0110.00716.67
7.4.110.0070.01116.75
7.4.100.0140.00616.80
7.4.90.0060.01216.49
7.4.80.0060.01519.39
7.4.70.0070.01116.72
7.4.60.0120.00616.59
7.4.50.0140.00316.70
7.4.40.0100.00716.54
7.4.30.0030.01316.70
7.4.00.0040.00815.28
7.3.330.0000.00513.14
7.3.320.0050.00013.23
7.3.310.0000.00716.25
7.3.300.0030.00316.39
7.3.290.0060.01216.44
7.3.280.0060.01016.39
7.3.270.0070.01017.40
7.3.260.0060.01216.44
7.3.250.0080.01116.58
7.3.240.0120.00416.62
7.3.230.0040.01416.71
7.3.210.0160.00616.53
7.3.200.0080.00816.70
7.3.190.0060.01016.39
7.3.180.0130.00316.59
7.3.170.0090.00816.58
7.3.160.0080.00816.46
7.2.330.0160.00716.70
7.2.320.0040.01316.72
7.2.310.0100.01016.84
7.2.300.0090.01416.41
7.2.290.0110.00716.79
7.2.60.0000.01016.95
7.2.00.0090.00918.50
7.1.200.0060.00615.81
7.1.100.0040.00718.19
7.1.70.0050.00517.26
7.1.60.0100.01419.48
7.1.50.0100.01016.76
7.1.00.0070.07322.28
7.0.200.0310.00314.71
7.0.60.0030.06719.89
7.0.50.0000.04317.86
7.0.40.0030.09320.04
7.0.30.0270.08320.00
7.0.20.0200.04020.16
7.0.10.0170.04320.01
7.0.00.0070.08320.20
5.6.210.0030.04720.69
5.6.200.0070.07718.19
5.6.190.0070.06720.39
5.6.180.0370.06720.27
5.6.170.0270.08720.49
5.6.160.0070.07020.48
5.6.150.0070.05318.14
5.6.140.0070.08018.19
5.6.130.0030.05318.13
5.6.120.0030.05720.89
5.6.110.0030.09020.98
5.6.100.0200.06721.13
5.6.90.0030.08321.00
5.6.80.0030.06720.53
5.5.350.4100.04720.46
5.5.340.0130.05317.95
5.5.330.0100.04020.45
5.5.320.0300.07720.24
5.5.310.0300.07020.31
5.5.300.0070.03718.02
5.5.290.0070.04318.05
5.5.280.0030.06020.85
5.5.270.0030.04720.95
5.5.260.0070.08720.83
5.5.250.0100.07020.58
5.5.240.0230.07020.03

preferences:
44.26 ms | 400 KiB | 5 Q