3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_GET['week_of']=20151116; if(isset($_GET['week_of'])&&preg_match('/^[0-9]{8}$/',$_GET['week_of'])){ $week_of=(DateTime::createFromFormat('Ymd',$_GET['week_of'])); }else{ $week_of=0; } echo $week_of;

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.0160.00622.17
8.3.40.0040.01119.13
8.3.30.0120.00319.04
8.3.20.0080.00020.33
8.3.10.0050.00223.52
8.3.00.0040.00419.76
8.2.180.0100.01018.91
8.2.170.0170.00322.96
8.2.160.0110.00320.43
8.2.150.0060.00324.18
8.2.140.0040.00424.66
8.2.130.0120.00626.16
8.2.120.0090.00021.06
8.2.110.0090.00019.24
8.2.100.0040.00818.16
8.2.90.0050.00319.21
8.2.80.0000.00818.00
8.2.70.0000.00918.00
8.2.60.0140.00418.00
8.2.50.0060.00318.07
8.2.40.0000.00819.44
8.2.30.0030.00720.50
8.2.20.0000.01118.14
8.2.10.0040.00418.13
8.2.00.0040.00418.30
8.1.280.0120.00625.92
8.1.270.0000.00921.82
8.1.260.0040.01126.35
8.1.250.0060.00328.09
8.1.240.0110.00017.73
8.1.230.0080.00317.77
8.1.220.0050.00317.77
8.1.210.0040.00418.77
8.1.200.0000.00817.72
8.1.190.0000.00817.38
8.1.180.0000.00818.10
8.1.170.0040.00420.11
8.1.160.0000.00821.99
8.1.150.0050.00318.88
8.1.140.0030.00519.54
8.1.130.0040.00417.83
8.1.120.0000.00717.64
8.1.110.0000.00717.78
8.1.100.0050.00217.77
8.1.90.0040.00417.64
8.1.80.0040.00417.75
8.1.70.0030.00317.47
8.1.60.0050.00317.73
8.1.50.0000.00917.78
8.1.40.0060.00317.72
8.1.30.0030.00617.82
8.1.20.0040.00417.86
8.1.10.0040.00417.75
8.1.00.0060.00617.85
8.0.300.0030.00618.77
8.0.290.0040.00417.13
8.0.280.0000.00718.58
8.0.270.0000.00717.34
8.0.260.0090.00017.27
8.0.250.0030.00317.36
8.0.240.0040.00417.36
8.0.230.0030.00317.27
8.0.220.0030.00517.31
8.0.210.0000.00817.34
8.0.200.0040.00417.38
8.0.190.0000.00717.25
8.0.180.0040.00417.32
8.0.170.0040.00417.32
8.0.160.0040.00417.19
8.0.150.0050.00317.30
8.0.140.0000.00717.29
8.0.130.0030.00313.60
8.0.120.0040.00417.28
8.0.110.0080.00017.27
8.0.100.0040.00417.13
8.0.90.0030.00317.11
8.0.80.0090.00617.27
8.0.70.0000.00817.36
8.0.60.0040.00417.29
8.0.50.0080.00017.32
8.0.30.0110.00817.31
8.0.20.0110.00717.40
8.0.10.0000.00717.29
8.0.00.0110.00717.09
7.4.330.0020.00216.71
7.4.320.0000.00616.86
7.4.300.0000.00616.89
7.4.290.0000.00716.82
7.4.280.0000.00816.81
7.4.270.0030.00516.83
7.4.260.0030.00316.88
7.4.250.0030.00516.77
7.4.240.0020.00516.81
7.4.230.0000.00716.59
7.4.220.0170.00416.82
7.4.210.0070.01116.84
7.4.200.0000.00716.77
7.4.160.0070.00716.72
7.4.150.0110.00717.40
7.4.140.0060.01217.86
7.4.130.0130.00416.86
7.4.120.0080.01016.91
7.4.110.0180.00716.81
7.4.100.0180.00316.82
7.4.90.0060.01216.96
7.4.80.0060.01219.39
7.4.70.0140.00716.95
7.4.60.0140.00316.94
7.4.50.0030.01016.79
7.4.40.0040.01316.85
7.4.30.0080.00816.72
7.4.00.0070.01015.46
7.3.330.0030.00313.33
7.3.320.0000.00513.45
7.3.310.0070.00016.39
7.3.300.0040.00416.44
7.3.290.0110.00716.54
7.3.280.0110.00616.60
7.3.270.0030.02017.40
7.3.260.0030.01316.83
7.3.250.0140.00516.78
7.3.240.0110.00616.81
7.3.230.0100.00716.87
7.3.210.0140.00316.90
7.3.200.0040.01216.66
7.3.190.0090.00916.77
7.3.180.0060.00916.69
7.3.170.0040.01316.84
7.3.160.0090.01216.80
7.3.120.0070.01014.94
7.3.110.0090.00615.10
7.3.100.0000.01414.98
7.3.90.0100.00414.98
7.3.80.0030.01115.34
7.3.70.0090.00615.19
7.3.60.0090.00615.10
7.3.50.0030.01015.22
7.3.40.0060.00615.07
7.3.30.0070.00314.95
7.3.20.0060.00317.08
7.3.10.0030.01016.89
7.3.00.0040.00917.05
7.2.330.0120.00617.16
7.2.320.0100.01016.97
7.2.310.0160.00017.09
7.2.300.0070.01016.90
7.2.290.0060.01217.17
7.2.240.0090.00615.41
7.2.230.0070.01115.42
7.2.220.0070.01115.65
7.2.210.0150.00015.40
7.2.200.0100.00715.35
7.2.190.0030.01015.42
7.2.180.0090.00615.54
7.2.170.0030.00615.36
7.2.160.0000.01315.16
7.2.150.0080.00817.03
7.2.140.0060.00617.11
7.2.130.0080.00517.33
7.2.120.0070.00716.92
7.2.110.0100.00317.15
7.2.100.0050.00717.06
7.2.90.0090.00517.23
7.2.80.0040.01017.29
7.2.70.0050.00917.21
7.2.60.0090.00717.15
7.2.50.0070.00717.17
7.2.40.0030.01117.31
7.2.30.0040.00817.35
7.2.20.0060.01017.28
7.2.10.0050.00917.34
7.2.00.0050.01018.00
7.1.330.0030.00915.93
7.1.320.0080.00416.21
7.1.310.0000.01716.09
7.1.300.0060.00616.15
7.1.290.0060.00616.02
7.1.280.0130.00015.86
7.1.270.0030.00916.21
7.1.260.0030.00716.12
7.1.250.0060.00616.10
7.1.200.0000.01316.22
7.1.100.0050.00518.20
7.1.70.0090.00017.20
7.1.60.0000.01519.48
7.1.50.0070.01417.35
7.1.00.0030.07722.49
7.0.200.0000.01015.39
7.0.60.0070.06720.07
7.0.50.0030.04017.95
7.0.40.0070.05719.98
7.0.30.0300.05320.35
7.0.20.0170.04720.18
7.0.10.0170.05320.14
7.0.00.0130.07720.14
5.6.280.0030.03321.12
5.6.210.0070.08020.55
5.6.200.0030.08718.17
5.6.190.0000.04720.45
5.6.180.0130.04320.46
5.6.170.0300.06720.46
5.6.160.0070.05020.45
5.6.150.0030.05718.21
5.6.140.0000.05318.08
5.6.130.0030.04318.11
5.6.120.0000.08321.12
5.6.110.0100.08021.09
5.6.100.0030.06321.05
5.6.90.0030.04321.09
5.6.80.0100.05020.50
5.5.350.0000.08320.29
5.5.340.0100.04318.02
5.5.330.0130.07720.15
5.5.320.0200.06720.24
5.5.310.0200.04320.33
5.5.300.0070.04018.07
5.5.290.0030.08318.02
5.5.280.0070.08720.68
5.5.270.0000.06020.86
5.5.260.0070.08320.95
5.5.250.0130.07720.71
5.5.240.0200.08020.18

preferences:
48.89 ms | 401 KiB | 5 Q