3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date = new \DateTime('2015-05-24 00:00:00'); $time = new \DateTime('0000-00-00 21:22:00'); $pickUpDateTime = new \DateTime(); $pickUpDateTime->setDate($date->format('Y'), $date->format('m'), $date->format('d')); $pickUpDateTime->setTime($time->format('H'), $time->format('i'), $time->format('s')); echo $pickUpDateTime->format('Y-m-d H:i:s');

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.0210.00016.38
8.3.50.0070.01221.09
8.3.40.0160.00318.97
8.3.30.0140.00018.97
8.3.20.0040.00420.25
8.3.10.0080.00023.58
8.3.00.0040.00421.73
8.2.180.0120.00916.63
8.2.170.0110.00422.96
8.2.160.0100.00320.39
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0080.00020.88
8.2.120.0000.00726.35
8.2.110.0090.00020.99
8.2.100.0110.00018.05
8.2.90.0000.00719.17
8.2.80.0060.00317.97
8.2.70.0040.00417.75
8.2.60.0040.00418.05
8.2.50.0040.00418.09
8.2.40.0050.00322.27
8.2.30.0040.00419.64
8.2.20.0060.00317.88
8.2.10.0030.00518.09
8.2.00.0050.00218.05
8.1.280.0130.00625.92
8.1.270.0080.00023.99
8.1.260.0050.00328.09
8.1.250.0030.00628.09
8.1.240.0060.00322.54
8.1.230.0040.00717.77
8.1.220.0000.00817.74
8.1.210.0060.00318.77
8.1.200.0030.00617.35
8.1.190.0050.00317.48
8.1.180.0080.00318.10
8.1.170.0050.00418.71
8.1.160.0000.00720.77
8.1.150.0040.00418.91
8.1.140.0050.00319.58
8.1.130.0030.00317.72
8.1.120.0000.00817.61
8.1.110.0040.00717.48
8.1.100.0040.00417.61
8.1.90.0000.00717.61
8.1.80.0030.00317.54
8.1.70.0000.00817.64
8.1.60.0040.00417.66
8.1.50.0030.00617.58
8.1.40.0000.01217.46
8.1.30.0050.00317.64
8.1.20.0080.00017.72
8.1.10.0050.00317.70
8.1.00.0050.00217.71
8.0.300.0000.00818.77
8.0.290.0000.00816.88
8.0.280.0000.00718.42
8.0.270.0000.00717.34
8.0.260.0050.00217.34
8.0.250.0000.00717.14
8.0.240.0050.00317.14
8.0.230.0050.00317.04
8.0.220.0000.00716.99
8.0.210.0000.00817.01
8.0.200.0050.00217.10
8.0.190.0040.00417.12
8.0.180.0030.00317.12
8.0.170.0040.00417.08
8.0.160.0030.00317.09
8.0.150.0080.00017.07
8.0.140.0070.00016.94
8.0.130.0000.00513.39
8.0.120.0040.00417.03
8.0.110.0000.00717.04
8.0.100.0040.00417.06
8.0.90.0070.00016.82
8.0.80.0150.00017.00
8.0.70.0000.00716.84
8.0.60.0030.00517.03
8.0.50.0000.00716.95
8.0.30.0120.00817.16
8.0.20.0110.00717.40
8.0.10.0000.00717.14
8.0.00.0110.01016.97
7.4.330.0000.00516.77
7.4.320.0030.00316.58
7.4.300.0080.00016.60
7.4.290.0030.00316.59
7.4.280.0000.00716.59
7.4.270.0000.00816.73
7.4.260.0000.00716.59
7.4.250.0000.00716.48
7.4.240.0030.00316.62
7.4.230.0000.00716.71
7.4.220.0110.00716.69
7.4.210.0070.01116.53
7.4.200.0070.00016.40
7.4.160.0160.00016.59
7.4.150.0060.01317.40
7.4.140.0110.01117.86
7.4.130.0110.00716.75
7.4.120.0100.00816.67
7.4.110.0130.00316.71
7.4.100.0100.00716.77
7.4.90.0070.01116.74
7.4.80.0080.01319.39
7.4.70.0110.00616.78
7.4.60.0100.00716.52
7.4.50.0040.01416.54
7.4.40.0030.01316.71
7.4.30.0100.00716.82
7.4.00.0100.00715.16
7.3.330.0030.00313.09
7.3.320.0050.00013.18
7.3.310.0000.00716.35
7.3.300.0000.00716.32
7.3.290.0070.01016.31
7.3.280.0040.01316.33
7.3.270.0130.00617.40
7.3.260.0090.01216.39
7.3.240.0000.02116.73
7.3.230.0070.01016.39
7.3.210.0030.01316.53
7.3.200.0060.01319.39
7.3.190.0130.00316.68
7.3.180.0140.00416.66
7.3.170.0170.00616.55
7.3.160.0060.00916.42
7.3.10.0110.00316.77
7.3.00.0100.00316.66
7.2.330.0040.01516.66
7.2.320.0170.00716.60
7.2.310.0040.01416.50
7.2.300.0120.00916.58
7.2.290.0030.01916.73
7.2.130.0040.01117.09
7.2.120.0000.01616.93
7.2.110.0110.00416.93
7.2.100.0030.01316.92
7.2.90.0030.01217.22
7.2.80.0040.01117.21
7.2.70.0060.01017.19
7.2.60.0070.00716.71
7.2.50.0030.01016.93
7.2.40.0070.00416.84
7.2.30.0110.00316.85
7.2.20.0030.01316.77
7.2.10.0000.01016.76
7.2.00.0080.00718.14
7.1.250.0040.00715.61
7.1.200.0100.01015.89
7.1.100.0140.00418.04
7.1.70.0030.01016.95
7.1.60.0030.02119.28
7.1.50.0110.01416.63
7.1.00.0030.07322.32
7.0.200.0060.00316.76
7.0.60.0030.08321.87
7.0.50.0030.06317.91
7.0.40.0100.04320.25
7.0.30.0300.04020.09
7.0.20.0270.07320.33
7.0.10.0030.04320.13
7.0.00.0070.08320.09
5.6.280.0030.03021.11
5.6.210.0100.06020.75
5.6.200.0130.05718.11
5.6.190.0030.04720.41
5.6.180.0300.07320.39
5.6.170.0230.06320.52
5.6.160.0170.08320.41
5.6.150.0100.08318.23
5.6.140.0070.05318.18
5.6.130.0070.07718.12
5.6.120.0070.07320.99
5.6.110.0030.07720.97
5.6.100.0070.05320.98
5.6.90.0100.08721.00
5.6.80.0100.06020.40
5.5.350.2770.05020.41
5.5.340.0030.04017.91
5.5.330.0070.04720.07
5.5.320.0530.04320.21
5.5.310.0300.07020.24
5.5.300.0070.04717.98
5.5.290.0130.06317.87
5.5.280.0100.06720.77
5.5.270.0030.06720.86
5.5.260.0130.05720.89
5.5.250.0030.08720.79
5.5.240.0230.06020.18

preferences:
31.48 ms | 401 KiB | 5 Q