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:00:00'); $pickUpDateTime->setDate($date->format('Y'), $date->format('m'), $date->format('d')); $pickUpDateTime->setTime($time->format('H'), $time->format('i'), $time->format('s')); echo $pickUpDateTime;

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.75
8.3.50.0070.00716.56
8.3.40.0070.00719.07
8.3.30.0090.00919.06
8.3.20.0110.00420.15
8.3.10.0030.00623.65
8.3.00.0040.00421.91
8.2.180.0120.00616.75
8.2.170.0080.00819.10
8.2.160.0070.01122.96
8.2.150.0090.00925.66
8.2.140.0040.00424.66
8.2.130.0080.00021.03
8.2.120.0040.00426.35
8.2.110.0060.00320.88
8.2.100.0080.00317.84
8.2.90.0090.00018.93
8.2.80.0040.00417.97
8.2.70.0070.00317.88
8.2.60.0000.00817.93
8.2.50.0050.00318.09
8.2.40.0080.00022.33
8.2.30.0030.00619.54
8.2.20.0040.00417.78
8.2.10.0000.00718.10
8.2.00.0000.00817.99
8.1.280.0090.00625.92
8.1.270.0040.00424.66
8.1.260.0040.00428.09
8.1.250.0070.00028.09
8.1.240.0060.00319.40
8.1.230.0060.00620.97
8.1.220.0030.00517.74
8.1.210.0110.00018.77
8.1.200.0040.00417.35
8.1.190.0040.00417.36
8.1.180.0000.00818.10
8.1.170.0040.00418.53
8.1.160.0050.00320.68
8.1.150.0020.00518.84
8.1.140.0040.00419.68
8.1.130.0000.00717.68
8.1.120.0000.00717.52
8.1.110.0000.00917.62
8.1.100.0030.00517.59
8.1.90.0040.00417.67
8.1.80.0030.00317.71
8.1.70.0000.00717.48
8.1.60.0040.00417.69
8.1.50.0090.00017.71
8.1.40.0060.00317.54
8.1.30.0000.00917.72
8.1.20.0060.00317.88
8.1.10.0000.00817.73
8.1.00.0000.00717.59
8.0.300.0050.00320.01
8.0.290.0040.00417.00
8.0.280.0000.00718.49
8.0.270.0000.00717.37
8.0.260.0030.00317.34
8.0.250.0000.00717.23
8.0.240.0030.00517.20
8.0.230.0070.00017.14
8.0.220.0040.00417.15
8.0.210.0070.00017.04
8.0.200.0040.00417.17
8.0.190.0000.00817.25
8.0.180.0040.00417.18
8.0.170.0080.00017.17
8.0.160.0040.00417.15
8.0.150.0040.00316.92
8.0.140.0050.00316.96
8.0.130.0000.00613.45
8.0.120.0040.00417.07
8.0.110.0040.00417.09
8.0.100.0000.00717.19
8.0.90.0040.00416.91
8.0.80.0120.00417.01
8.0.70.0080.00016.97
8.0.60.0000.00717.08
8.0.50.0080.00016.99
8.0.30.0080.01117.21
8.0.20.0120.00817.42
8.0.10.0000.00717.15
8.0.00.0080.01116.89
7.4.330.0000.00616.81
7.4.320.0000.00716.61
7.4.300.0000.00716.66
7.4.290.0000.00716.70
7.4.280.0040.00416.68
7.4.270.0030.00316.79
7.4.260.0030.00316.61
7.4.250.0040.00416.63
7.4.240.0020.00516.53
7.4.230.0030.00316.51
7.4.220.0110.00816.80
7.4.210.0080.00816.71
7.4.200.0000.00716.60
7.4.160.0030.01216.62
7.4.150.0150.00417.40
7.4.140.0120.01117.86
7.4.130.0120.01216.69
7.4.120.0100.00816.68
7.4.110.0090.00916.86
7.4.100.0030.01416.49
7.4.90.0110.01116.75
7.4.80.0070.01119.39
7.4.70.0140.00816.69
7.4.60.0090.01216.59
7.4.50.0110.00416.74
7.4.40.0140.00316.68
7.4.30.0100.01016.68
7.4.00.0000.01615.30
7.3.330.0030.00313.24
7.3.320.0030.00313.14
7.3.310.0000.00716.27
7.3.300.0030.00316.40
7.3.290.0080.01116.42
7.3.280.0020.01616.44
7.3.270.0160.00317.40
7.3.260.0180.00616.73
7.3.240.0090.00916.66
7.3.230.0140.00316.86
7.3.210.0100.00716.57
7.3.200.0060.02119.39
7.3.190.0140.00416.45
7.3.180.0130.00316.71
7.3.170.0110.01016.46
7.3.160.0070.00716.54
7.2.330.0090.00916.58
7.2.320.0030.01516.82
7.2.310.0170.00716.85
7.2.300.0090.00816.48
7.2.290.0120.00316.67
7.2.60.0110.00017.07
7.2.00.0030.01019.48
7.1.200.0060.00615.73
7.1.100.0090.00318.05
7.1.70.0060.00317.25
7.1.60.0130.00319.28
7.1.50.0070.01316.70
7.1.00.0030.07322.34
7.0.200.0000.00716.88
7.0.60.0000.08321.63
7.0.50.0070.08317.68
7.0.40.0200.07720.24
7.0.30.0230.03720.18
7.0.20.0330.07020.13
7.0.10.0070.04020.18
7.0.00.0070.06320.19
5.6.280.0000.03320.99
5.6.210.0030.05020.72
5.6.200.0100.07718.12
5.6.190.0070.06320.45
5.6.180.0300.07320.59
5.6.170.0300.05720.42
5.6.160.0200.06720.66
5.6.150.0100.07718.14
5.6.140.0100.06018.12
5.6.130.0100.07718.21
5.6.120.0030.05021.11
5.6.110.0270.06720.98
5.6.100.0070.05720.98
5.6.90.0070.03720.88
5.6.80.0100.06320.40
5.5.350.3900.04020.44
5.5.340.0000.04317.97
5.5.330.0130.05720.25
5.5.320.0300.03720.17
5.5.310.0270.06320.13
5.5.300.0000.04317.99
5.5.290.0000.04717.91
5.5.280.0000.05720.65
5.5.270.0130.07720.72
5.5.260.0130.05020.63
5.5.250.0130.07020.74
5.5.240.0130.07720.32

preferences:
56.54 ms | 401 KiB | 5 Q