3v4l.org

run code in 300+ PHP versions simultaneously
<?php $sting = "15.10.15 10:20"; $date = '20'.substr($string, 6, 2).'-'.substr($string, 3, 2).'-'.substr($string, 0, 2).' '.substr($string, 9, 2).':'.substr($string, 12, 2).':00'; var_dump( new \DateTime($date, new \DateTimeZone('UTC')));;

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.0070.00716.88
8.3.50.0140.00721.16
8.3.40.0110.00718.73
8.3.30.0130.00818.86
8.3.20.0070.00020.12
8.3.10.0040.00423.53
8.3.00.0040.00417.80
8.2.180.0130.00318.66
8.2.170.0090.00622.96
8.2.160.0070.00720.52
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0080.00017.63
8.2.110.0070.00320.94
8.2.100.0060.00617.91
8.2.90.0050.00318.34
8.2.80.0040.00417.97
8.2.70.0000.00817.93
8.2.60.0000.00718.09
8.2.50.0040.00418.10
8.2.40.0040.00421.07
8.2.30.0000.00720.69
8.2.20.0070.00017.76
8.2.10.0000.00718.18
8.2.00.0040.00418.09
8.1.280.0110.01125.92
8.1.270.0150.00323.67
8.1.260.0040.00426.35
8.1.250.0000.00728.09
8.1.240.0030.01420.82
8.1.230.0090.00320.64
8.1.220.0040.00417.78
8.1.210.0030.00618.87
8.1.200.0090.00317.48
8.1.190.0030.00717.22
8.1.180.0080.00018.10
8.1.170.0040.00418.74
8.1.160.0040.00418.94
8.1.150.0000.00718.94
8.1.140.0030.00619.56
8.1.130.0000.00817.62
8.1.120.0040.00417.61
8.1.110.0070.00017.48
8.1.100.0040.00417.55
8.1.90.0060.00317.59
8.1.80.0070.00017.57
8.1.70.0000.00717.59
8.1.60.0040.00417.55
8.1.50.0080.00017.61
8.1.40.0070.00317.46
8.1.30.0000.00817.69
8.1.20.0040.00817.54
8.1.10.0040.00417.63
8.1.00.0040.00417.63
8.0.300.0040.00420.03
8.0.290.0000.00816.88
8.0.280.0060.00018.52
8.0.270.0000.00717.24
8.0.260.0060.00317.20
8.0.250.0040.00417.05
8.0.240.0030.00317.02
8.0.230.0040.00417.09
8.0.220.0050.00216.95
8.0.210.0060.00317.15
8.0.200.0030.00317.02
8.0.190.0060.00317.16
8.0.180.0080.00017.08
8.0.170.0040.00417.17
8.0.160.0040.00417.13
8.0.150.0040.00316.96
8.0.140.0040.00417.05
8.0.130.0000.00613.47
8.0.120.0040.00417.08
8.0.110.0030.00617.02
8.0.100.0040.00416.98
8.0.90.0000.00717.11
8.0.80.0080.00817.08
8.0.70.0000.00717.01
8.0.60.0050.00317.06
8.0.50.0040.00416.97
8.0.30.0090.01117.30
8.0.20.0100.01117.40
8.0.10.0030.00517.24
8.0.00.0060.01116.86
7.4.330.0000.00515.14
7.4.320.0070.00016.71
7.4.300.0050.00216.56
7.4.290.0030.00316.67
7.4.280.0040.00416.67
7.4.270.0040.00416.68
7.4.260.0030.00316.56
7.4.250.0040.00416.64
7.4.240.0030.00316.55
7.4.230.0000.00716.75
7.4.220.0060.01216.66
7.4.210.0070.00716.70
7.4.200.0000.00816.75
7.4.160.0090.00916.69
7.4.150.0110.00617.40
7.4.140.0130.00817.86
7.4.130.0060.01116.64
7.4.120.0110.00716.66
7.4.110.0060.01116.62
7.4.100.0060.01216.61
7.4.90.0060.01216.71
7.4.80.0040.01419.39
7.4.70.0110.00816.62
7.4.60.0100.01016.66
7.4.50.0000.00816.63
7.4.40.0100.01016.43
7.4.30.0070.01516.59
7.4.00.0040.01514.77
7.3.330.0000.00613.19
7.3.320.0000.00613.37
7.3.310.0000.00716.38
7.3.300.0030.00316.39
7.3.290.0110.00716.35
7.3.280.0090.01116.38
7.3.270.0110.00517.40
7.3.260.0030.01616.79
7.3.250.0090.01016.41
7.3.240.0120.01016.49
7.3.230.0110.01116.50
7.3.210.0100.00716.32
7.3.200.0130.01316.50
7.3.190.0110.00716.55
7.3.180.0060.00916.56
7.3.170.0060.01016.76
7.3.160.0060.01016.50
7.2.330.0060.01316.74
7.2.320.0030.01316.72
7.2.310.0100.00716.47
7.2.300.0120.00616.88
7.2.290.0100.01016.75
7.2.60.0090.00317.03
7.2.00.0120.01219.32
7.1.200.0060.00615.93
7.1.100.0030.01318.27
7.1.70.0060.00317.39
7.1.60.0100.01019.50
7.1.50.0140.00317.04
7.1.00.0030.07722.31
7.0.200.0000.00716.84
7.0.60.0070.06019.92
7.0.50.0000.04017.84
7.0.40.0070.04020.24
7.0.30.0200.05020.11
7.0.20.0270.05020.19
7.0.10.0070.05320.00
7.0.00.0030.05720.19
5.6.280.0030.03321.12
5.6.210.0070.08020.50
5.6.200.0030.04318.19
5.6.190.0100.03720.61
5.6.180.0270.03320.48
5.6.170.0170.04020.50
5.6.160.0030.08320.39
5.6.150.0130.07318.16
5.6.140.0000.05318.16
5.6.130.0170.07018.20
5.6.120.0070.07721.12
5.6.110.0130.08021.00
5.6.100.0030.07720.97
5.6.90.0170.06021.02
5.6.80.0100.07020.39
5.5.350.0170.04720.39
5.5.340.0030.04718.07
5.5.330.0030.05320.42
5.5.320.0430.06720.38
5.5.310.1300.05720.37
5.5.300.0130.07318.04
5.5.290.0130.06317.95
5.5.280.0000.05720.89
5.5.270.0030.04020.75
5.5.260.0030.04320.79
5.5.250.0100.07720.65
5.5.240.0100.07020.12
5.4.450.0730.05319.45
5.4.440.0700.05319.55
5.4.430.0730.06019.58
5.4.420.0800.04319.24
5.4.410.0700.05719.46
5.4.400.0730.06019.27
5.4.390.0700.05319.18
5.4.380.0670.05319.03
5.4.370.0700.05019.08
5.4.360.0700.05319.19
5.4.350.0670.05019.08
5.4.340.0730.04719.09
5.4.320.0770.06318.92
5.4.310.0770.05719.26
5.4.300.0870.06318.83
5.4.290.0600.05719.08
5.4.280.0700.05019.01
5.4.270.0630.05719.20
5.4.260.0730.04318.81
5.4.250.0670.04719.11
5.4.240.0630.05719.08
5.4.230.0530.06019.26
5.4.220.0700.05019.18
5.4.210.0830.05018.97
5.4.200.0530.06018.97
5.4.190.0600.05318.83
5.4.180.0730.04719.25
5.4.170.0770.05719.07
5.4.160.0770.05319.09
5.4.150.0670.05319.26
5.4.140.0570.06016.31
5.4.130.0630.04716.31
5.4.120.0570.05316.36
5.4.110.0530.06316.54
5.4.100.0630.05016.39
5.4.90.0530.05716.60
5.4.80.0670.04316.57
5.4.70.0070.06716.44
5.4.60.0270.07016.57
5.4.50.0230.07316.54
5.4.40.0170.07716.55
5.4.30.0030.03016.53
5.4.20.0030.06016.50
5.4.10.0300.05016.56

preferences:
49.1 ms | 401 KiB | 5 Q