3v4l.org

run code in 300+ PHP versions simultaneously
<?php date_default_timezone_set("Europe/Paris"); $checkDateTimeUTC = ""; //$D = '20130412'; //$T = '110101'; if (($D > "") and ($T > "")) { //D=20130412&T=110101 $datum = gmdate("Y-m-d"); //YYYYMMDD UTC $tijd = gmdate("H:i:s"); //hhmmss UTC $time_string = substr($D, 0, 4) . "-" . substr($D, 4, 2) . "-" . substr($D, 6, 2) . " " . substr($T, 0, 2) . ":" . substr($T, 2, 2) . ":" . substr($T, 4, 2); echo $time_string; echo "\r\n"; echo $checkDateTimeUTC = gmdate('Y-m-d\TH:i:s\Z', strtotime($time_string)); } else { echo $checkDateTimeUTC = gmdate('Y-m-d\TH:i:s\Z'); } ?>

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.70.0090.00918.59
8.3.60.0090.00616.75
8.3.50.0080.01021.16
8.3.40.0090.00618.79
8.3.30.0110.00419.02
8.3.20.0040.00420.38
8.3.10.0000.00823.55
8.3.00.0080.00019.72
8.2.180.0150.00616.50
8.2.170.0110.01122.96
8.2.160.0140.00020.48
8.2.150.0050.00324.18
8.2.140.0000.00824.66
8.2.130.0000.00821.00
8.2.120.0040.00426.35
8.2.110.0100.00022.29
8.2.100.0060.00617.91
8.2.90.0100.00317.78
8.2.80.0000.00819.04
8.2.70.0120.00017.63
8.2.60.0000.00817.63
8.2.50.0080.00017.75
8.2.40.0000.00821.14
8.2.30.0030.00320.64
8.2.20.0000.00717.70
8.2.10.0030.00518.17
8.2.00.0070.00018.13
8.1.280.0090.00925.92
8.1.270.0030.00620.21
8.1.260.0050.00228.09
8.1.250.0000.00828.09
8.1.240.0040.00820.62
8.1.230.0050.00522.66
8.1.220.0030.00617.76
8.1.210.0050.00318.77
8.1.200.0030.00617.35
8.1.190.0000.00817.53
8.1.180.0030.00518.10
8.1.170.0040.00418.66
8.1.160.0040.00420.84
8.1.150.0000.00718.81
8.1.140.0000.00719.48
8.1.130.0000.00717.72
8.1.120.0000.00817.57
8.1.110.0030.00617.55
8.1.100.0080.00017.45
8.1.90.0040.00417.53
8.1.80.0000.00717.46
8.1.70.0000.00717.52
8.1.60.0000.00917.55
8.1.50.0040.00417.49
8.1.40.0000.00817.50
8.1.30.0030.00617.54
8.1.20.0000.00817.67
8.1.10.0050.00217.51
8.1.00.0050.00217.39
8.0.300.0070.00020.09
8.0.290.0070.00416.75
8.0.280.0030.00318.35
8.0.270.0070.00017.18
8.0.260.0060.00017.25
8.0.250.0000.00717.13
8.0.240.0070.00017.12
8.0.230.0030.00317.11
8.0.220.0070.00017.02
8.0.210.0040.00417.04
8.0.200.0030.00317.05
8.0.190.0000.00717.07
8.0.180.0000.00717.03
8.0.170.0040.00417.02
8.0.160.0040.00416.94
8.0.150.0040.00416.94
8.0.140.0030.00616.88
8.0.130.0000.00613.41
8.0.120.0030.00516.98
8.0.110.0000.00717.01
8.0.100.0040.00416.84
8.0.90.0040.00416.94
8.0.80.0130.00316.91
8.0.70.0040.00416.86
8.0.60.0040.00416.77
8.0.50.0040.00416.86
8.0.30.0050.01216.93
8.0.20.0080.01217.40
8.0.10.0000.00717.19
8.0.00.0120.00616.95
7.4.330.0000.00616.78
7.4.320.0000.00616.54
7.4.300.0040.00416.59
7.4.290.0000.00816.53
7.4.280.0060.00316.61
7.4.270.0000.00716.64
7.4.260.0060.00316.64
7.4.250.0040.00416.48
7.4.240.0050.00216.62
7.4.230.0000.00716.52
7.4.220.0030.01516.56
7.4.210.0070.00716.63
7.4.200.0030.00516.52
7.4.160.0140.00616.37
7.4.150.0110.00717.40
7.4.140.0110.01217.86
7.4.130.0000.01816.67
7.4.120.0070.00916.58
7.4.110.0110.00816.80
7.4.100.0120.00616.64
7.4.90.0150.00716.61
7.4.80.0000.01719.39
7.4.70.0110.00616.46
7.4.60.0140.00316.59
7.4.50.0070.01116.62
7.4.40.0000.01616.54
7.4.30.0100.01016.58
7.4.00.0110.00415.16
7.3.330.0000.00513.04
7.3.320.0030.00313.20
7.3.310.0070.00016.42
7.3.300.0060.00016.33
7.3.290.0070.00816.33
7.3.280.0090.00616.31
7.3.270.0100.00717.40
7.3.260.0100.00716.33
7.3.240.0080.00916.48
7.3.230.0090.00916.62
7.3.210.0030.01416.45
7.3.200.0090.00716.55
7.3.190.0140.00316.36
7.3.180.0090.00616.32
7.3.170.0150.00316.45
7.3.160.0090.01316.27
7.2.330.0100.00716.46
7.2.320.0060.01616.73
7.2.310.0030.01916.60
7.2.300.0100.00716.68
7.2.290.0120.00616.64
7.2.60.0040.01116.88
7.2.00.0070.00719.42
7.1.200.0090.00015.63
7.1.100.0090.00617.76
7.1.70.0040.00417.09
7.1.60.0140.01019.13
7.1.50.0080.00316.89
7.1.00.0000.07722.48
7.0.200.0060.00316.93
7.0.60.0030.04019.95
7.0.50.0100.06017.81
7.0.40.0070.08720.23
7.0.30.0430.06720.09
7.0.20.0230.05719.95
7.0.10.0030.04320.28
7.0.00.0100.08720.19
5.6.210.0070.04020.53
5.6.200.0070.08318.16
5.6.190.0070.08320.45
5.6.180.0130.08320.34
5.6.170.0130.04720.71
5.6.160.0130.04720.51
5.6.150.0030.04318.18
5.6.140.0030.05718.21
5.6.130.0100.05718.08
5.6.120.0030.04721.11
5.6.110.0070.08320.98
5.6.100.0000.04720.99
5.6.90.0270.04720.97
5.6.80.0070.05020.33
5.5.350.4200.04020.30
5.5.340.0100.07317.91
5.5.330.0000.07320.40
5.5.320.0370.07320.29
5.5.310.0300.05020.24
5.5.300.0070.08018.02
5.5.290.0130.07717.94
5.5.280.0100.08320.79
5.5.270.0200.07320.86
5.5.260.0030.06020.84
5.5.250.0130.07320.53
5.5.240.0230.07020.03

preferences:
62.55 ms | 401 KiB | 5 Q