3v4l.org

run code in 300+ PHP versions simultaneously
<?php $token_created_at = '2014-08-10 00:00:00'; //$token_created_at; //Return current time to match $current_time = new DateTime(); $my_dt = DateTime::createFromFormat('m-d-Y H:i:s', $token_created_at); //Modify error $expires_at = $my_dt->modify('+1 hour');

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.0110.00716.74
8.3.50.0100.00720.08
8.3.40.0140.00018.96
8.3.30.0150.00318.88
8.3.20.0050.00320.29
8.3.10.0050.00321.73
8.3.00.0040.00417.77
8.2.180.0060.01018.78
8.2.170.0110.00422.96
8.2.160.0170.00320.30
8.2.150.0090.00024.18
8.2.140.0040.00424.66
8.2.130.0070.01126.16
8.2.120.0070.00020.90
8.2.110.0140.00421.03
8.2.100.0040.00718.03
8.2.90.0030.00619.22
8.2.80.0080.00018.00
8.2.70.0030.00617.63
8.2.60.0050.00518.03
8.2.50.0060.00318.07
8.2.40.0000.00818.22
8.2.30.0040.00418.04
8.2.20.0040.00417.88
8.2.10.0080.00018.17
8.2.00.0000.00717.98
8.1.270.0080.00023.85
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0090.00021.38
8.1.230.0040.00717.89
8.1.220.0080.00017.79
8.1.210.0000.00818.77
8.1.200.0060.00317.47
8.1.190.0060.00317.25
8.1.180.0000.00818.10
8.1.170.0000.00818.62
8.1.160.0040.00421.98
8.1.150.0000.00718.81
8.1.140.0040.00417.57
8.1.130.0000.00717.80
8.1.120.0000.00717.64
8.1.110.0040.00417.58
8.1.100.0000.00717.47
8.1.90.0040.00317.59
8.1.80.0050.00217.48
8.1.70.0030.00317.43
8.1.60.0080.00017.53
8.1.50.0000.00917.66
8.1.40.0080.00017.48
8.1.30.0040.00417.73
8.1.20.0000.00717.60
8.1.10.0040.00417.69
8.1.00.0000.00717.66
8.0.300.0000.00818.77
8.0.290.0060.00317.00
8.0.280.0030.00518.30
8.0.270.0040.00417.27
8.0.260.0030.00317.27
8.0.250.0030.00617.04
8.0.240.0060.00617.04
8.0.230.0000.01117.20
8.0.220.0000.00717.06
8.0.210.0070.00017.05
8.0.200.0000.00617.01
8.0.190.0040.00417.01
8.0.180.0040.00417.16
8.0.170.0000.00817.15
8.0.160.0000.00817.14
8.0.150.0000.00716.92
8.0.140.0040.00417.04
8.0.130.0000.00513.43
8.0.120.0050.00217.07
8.0.110.0040.00417.00
8.0.100.0000.00717.12
8.0.90.0040.00417.02
8.0.80.0070.01117.14
8.0.70.0000.00716.97
8.0.60.0000.00717.04
8.0.50.0040.00416.97
8.0.30.0120.01017.03
8.0.20.0090.01217.40
8.0.10.0000.00717.07
8.0.00.0080.01316.70
7.4.330.0020.00215.00
7.4.320.0030.00316.50
7.4.300.0040.00416.76
7.4.290.0040.00416.58
7.4.280.0000.00716.60
7.4.270.0030.00316.69
7.4.260.0050.00216.63
7.4.250.0070.00016.67
7.4.240.0060.00116.73
7.4.230.0050.00316.45
7.4.220.0040.01416.58
7.4.210.0030.01316.80
7.4.200.0030.00316.82
7.4.160.0040.01216.66
7.4.150.0100.01417.40
7.4.140.0090.00817.86
7.4.130.0100.00816.78
7.4.120.0100.00716.64
7.4.110.0080.00816.70
7.4.100.0140.00416.71
7.4.90.0090.00916.78
7.4.80.0150.00419.39
7.4.70.0100.00716.62
7.4.60.0160.00316.70
7.4.50.0060.00316.54
7.4.40.0100.00716.59
7.4.30.0030.01316.63
7.4.00.0060.00914.97
7.3.330.0030.00313.13
7.3.320.0020.00213.11
7.3.310.0000.00716.40
7.3.300.0030.00316.44
7.3.290.0000.01916.42
7.3.280.0070.00916.42
7.3.270.0090.00917.40
7.3.260.0120.00616.62
7.3.250.0080.00816.57
7.3.240.0110.00716.68
7.3.230.0160.00616.54
7.3.210.0000.01716.50
7.3.200.0120.00919.39
7.3.190.0180.00016.63
7.3.180.0060.00916.54
7.3.170.0110.00316.74
7.3.160.0070.00816.70
7.3.120.0040.01314.90
7.3.110.0060.00915.10
7.3.100.0110.00315.00
7.3.90.0090.00014.75
7.3.80.0070.00715.04
7.3.70.0040.00415.05
7.3.60.0060.00614.95
7.3.50.0060.00614.63
7.3.40.0090.00614.73
7.3.30.0030.01314.69
7.3.20.0070.00716.94
7.3.10.0060.00516.66
7.3.00.0050.01016.86
7.2.330.0100.01316.70
7.2.320.0060.00916.80
7.2.310.0100.00616.70
7.2.300.0060.01616.54
7.2.290.0160.00016.70
7.2.250.0110.00714.98
7.2.240.0140.00715.12
7.2.230.0100.00715.41
7.2.220.0000.01115.12
7.2.210.0030.01315.04
7.2.200.0060.00615.00
7.2.190.0030.01315.18
7.2.180.0090.00615.17
7.2.170.0060.01015.18
7.2.130.0100.00716.91
7.2.120.0000.01417.01
7.2.110.0150.00016.93
7.2.100.0090.00616.96
7.2.90.0030.01417.05
7.2.80.0030.01016.84
7.2.70.0060.01017.01
7.2.60.0070.00816.74
7.2.50.0110.01116.98
7.2.40.0120.00617.12
7.2.30.0100.00716.91
7.2.20.0070.01117.06
7.2.10.0130.00316.79
7.2.00.0020.01318.20
7.1.330.0030.01015.93
7.1.320.0120.00015.84
7.1.310.0000.01415.76
7.1.300.0040.00715.47
7.1.290.0070.00715.49
7.1.280.0000.01015.94
7.1.270.0040.00815.87
7.1.260.0080.00515.70
7.1.250.0100.01015.98
7.1.200.0070.00315.89
7.1.100.0260.01016.48
7.1.70.0030.01017.40
7.1.60.0130.01019.40
7.1.50.0030.01016.76
7.1.00.0030.07722.51
7.0.200.0030.00317.00
7.0.140.0100.06721.92
7.0.60.0030.04320.02
7.0.50.0130.07317.71
7.0.40.0100.08719.98
7.0.30.0230.06020.34
7.0.20.0270.03319.99
7.0.10.0100.08319.99
7.0.00.0100.04020.18
5.6.280.0130.06321.07
5.6.210.0030.06720.71
5.6.200.0030.06718.21
5.6.190.0100.07720.39
5.6.180.0300.07720.48
5.6.170.0430.06320.35
5.6.160.0070.04320.46
5.6.150.0070.08318.22
5.6.140.0030.08718.18
5.6.130.0070.06318.09
5.6.120.0000.07320.94
5.6.110.0030.07020.98
5.6.100.0130.07320.97
5.6.90.0070.05321.11
5.6.80.0030.08020.28
5.5.350.0000.08720.35
5.5.340.0070.08018.03
5.5.330.0070.07020.21
5.5.320.0300.06720.34
5.5.310.0230.05020.34
5.5.300.0100.04017.97
5.5.290.0100.07717.91
5.5.280.0030.08020.77
5.5.270.0030.04320.75
5.5.260.0200.08020.88
5.5.250.0100.08020.68
5.5.240.4200.03720.25
5.4.450.0300.05019.14
5.4.440.0200.04719.47
5.4.430.0370.04719.41
5.4.420.0330.04019.27
5.4.410.0200.04719.45
5.4.400.0300.04318.94
5.4.390.0330.03019.05
5.4.380.0100.06018.50
5.4.370.0230.05318.50
5.4.360.0130.05718.68
5.4.350.0200.06018.68
5.4.340.0200.05318.61
5.4.320.0040.03812.46
5.4.310.0060.03812.45
5.4.300.0050.03712.46
5.4.290.0070.03712.45
5.4.280.0070.03612.36
5.4.270.0080.03912.36
5.4.260.0080.04812.36
5.4.250.0060.03912.36
5.4.240.0070.03712.35
5.4.230.0080.03612.34
5.4.220.0110.03212.34
5.4.210.0050.03612.34
5.4.200.0080.03612.34
5.4.190.0070.03712.34
5.4.180.0090.03412.34
5.4.170.0060.03712.36
5.4.160.0050.03712.34
5.4.150.0050.03712.34
5.4.140.0080.03512.03
5.4.130.0120.03012.02
5.4.120.0060.03411.97
5.4.110.0050.03611.97
5.4.100.0030.03811.96
5.4.90.0040.03811.97
5.4.80.0000.04211.96
5.4.70.0040.03511.96
5.4.60.0060.03411.96
5.4.50.0050.03611.96
5.4.40.0040.03611.95
5.4.30.0050.03511.95
5.4.20.0080.03311.95
5.4.10.0110.02911.95
5.4.00.0100.03111.44
5.3.290.0070.03812.80
5.3.280.0060.03712.71
5.3.270.0070.03912.72
5.3.260.0100.03912.72
5.3.250.0090.03412.72
5.3.240.0070.03612.72
5.3.230.0070.03712.71
5.3.220.0030.04012.68
5.3.210.0080.03712.68
5.3.200.0080.03312.68
5.3.190.0060.03712.68
5.3.180.0090.03412.67
5.3.170.0090.03312.67
5.3.160.0050.03812.67
5.3.150.0070.03612.67
5.3.140.0060.03812.66
5.3.130.0030.04112.66
5.3.120.0070.03712.66
5.3.110.0050.03912.66
5.3.100.0080.03712.11
5.3.90.0070.03612.08
5.3.80.0070.03512.08
5.3.70.0040.03812.07
5.3.60.0040.03912.06
5.3.50.0070.03612.00
5.3.40.0090.03412.00
5.3.30.0050.03611.95
5.3.20.0060.03511.73
5.3.10.0040.03611.69
5.3.00.0070.03811.68
5.2.170.0050.0299.18
5.2.160.0050.0289.20
5.2.150.0060.0289.19
5.2.140.0050.0309.18
5.2.130.0050.0289.14
5.2.120.0020.0319.14
5.2.110.0040.0299.15
5.2.100.0030.0309.15
5.2.90.0080.0259.15
5.2.80.0090.0279.14
5.2.70.0060.0299.14
5.2.60.0050.0309.10
5.2.50.0030.0329.07
5.2.40.0070.0269.04
5.2.30.0030.0319.02
5.2.20.0080.0269.00
5.2.10.0060.0308.92
5.2.00.0020.0318.78
5.1.60.0080.0218.06
5.1.50.0060.0238.06
5.1.40.0060.0288.04
5.1.30.0050.0318.39
5.1.20.0020.0298.41
5.1.10.0040.0268.14
5.1.00.0060.0238.14
5.0.50.0050.0196.62
5.0.40.0020.0206.48
5.0.30.0050.0296.29
5.0.20.0030.0196.26
5.0.10.0070.0166.24
5.0.00.0050.0286.23
4.4.90.0020.0164.77
4.4.80.0030.0154.75
4.4.70.0010.0174.75
4.4.60.0020.0164.75
4.4.50.0040.0204.77
4.4.40.0030.0334.71
4.4.30.0010.0214.76
4.4.20.0010.0184.84
4.4.10.0020.0164.85
4.4.00.0020.0264.76
4.3.110.0050.0134.67
4.3.100.0040.0134.66
4.3.90.0010.0164.63
4.3.80.0010.0264.58
4.3.70.0030.0154.63
4.3.60.0020.0164.63
4.3.50.0010.0174.63
4.3.40.0010.0264.54
4.3.30.0020.0163.28
4.3.20.0010.0163.26
4.3.10.0030.0153.22
4.3.00.0030.01315.88

preferences:
62.59 ms | 400 KiB | 5 Q