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.60.0090.00616.73
8.3.50.0100.00521.22
8.3.40.0070.00718.82
8.3.30.0070.00718.92
8.3.20.0070.00020.22
8.3.10.0030.00623.53
8.3.00.0040.00419.91
8.2.180.0090.01216.63
8.2.170.0080.00822.96
8.2.160.0030.01020.35
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0030.00621.05
8.2.120.0000.00826.35
8.2.110.0040.00420.46
8.2.100.0120.00018.16
8.2.90.0000.00819.36
8.2.80.0030.00517.97
8.2.70.0060.00317.63
8.2.60.0120.00017.93
8.2.50.0040.00418.07
8.2.40.0040.00421.20
8.2.30.0000.00720.64
8.2.20.0000.00817.95
8.2.10.0000.00718.19
8.2.00.0000.00818.13
8.1.280.0060.01025.92
8.1.270.0060.00320.17
8.1.260.0070.00028.09
8.1.250.0000.00928.09
8.1.240.0040.00424.00
8.1.230.0110.00017.89
8.1.220.0000.00917.80
8.1.210.0060.00318.77
8.1.200.0000.00917.38
8.1.190.0000.00817.48
8.1.180.0040.00418.10
8.1.170.0040.00418.57
8.1.160.0040.00420.88
8.1.150.0040.00418.96
8.1.140.0000.00817.65
8.1.130.0070.00017.73
8.1.120.0000.00817.69
8.1.110.0000.01217.54
8.1.100.0030.00517.66
8.1.90.0050.00317.71
8.1.80.0030.00517.55
8.1.70.0030.00517.63
8.1.60.0030.00617.72
8.1.50.0000.00917.67
8.1.40.0050.00317.67
8.1.30.0000.00917.80
8.1.20.0040.00417.71
8.1.10.0040.00417.67
8.1.00.0050.00217.59
8.0.300.0040.00418.77
8.0.290.0000.00716.88
8.0.280.0040.00418.53
8.0.270.0040.00417.04
8.0.260.0000.00617.38
8.0.250.0070.00017.18
8.0.240.0000.00717.04
8.0.230.0030.00317.13
8.0.220.0030.00317.07
8.0.210.0090.00017.14
8.0.200.0000.00617.13
8.0.190.0040.00417.13
8.0.180.0050.00217.11
8.0.170.0050.00317.20
8.0.160.0030.00417.16
8.0.150.0040.00417.00
8.0.140.0060.00317.10
8.0.130.0030.00313.54
8.0.120.0030.00617.11
8.0.110.0000.00817.13
8.0.100.0050.00317.14
8.0.90.0070.00017.00
8.0.80.0130.01017.09
8.0.70.0000.00717.05
8.0.60.0040.00417.16
8.0.50.0070.00016.94
8.0.30.0050.01217.34
8.0.20.0110.00717.43
8.0.10.0000.00817.29
8.0.00.0110.00816.95
7.4.330.0000.00516.71
7.4.320.0030.00316.66
7.4.300.0000.00716.70
7.4.290.0040.00416.57
7.4.280.0090.00016.77
7.4.270.0000.00716.54
7.4.260.0000.00716.55
7.4.250.0000.00816.63
7.4.240.0020.00516.61
7.4.230.0040.00316.73
7.4.220.0090.00916.69
7.4.210.0100.00316.57
7.4.200.0000.00816.77
7.4.160.0060.01216.88
7.4.150.0110.00717.40
7.4.140.0090.01317.86
7.4.130.0130.00716.71
7.4.120.0080.00816.58
7.4.110.0030.01716.61
7.4.100.0140.00316.68
7.4.90.0130.00316.56
7.4.80.0090.00919.39
7.4.70.0070.01116.77
7.4.60.0060.01316.47
7.4.50.0030.01016.69
7.4.40.0090.00916.73
7.4.30.0110.01416.71
7.4.00.0070.00714.96
7.3.330.0000.00513.11
7.3.320.0030.00313.15
7.3.310.0070.00016.38
7.3.300.0030.00316.34
7.3.290.0070.01016.40
7.3.280.0090.00916.40
7.3.270.0080.00817.40
7.3.260.0110.00716.53
7.3.240.0110.00716.81
7.3.230.0100.01016.82
7.3.210.0070.01016.62
7.3.200.0090.00616.69
7.3.190.0070.01016.43
7.3.180.0030.01316.71
7.3.170.0080.01216.51
7.3.160.0030.01316.35
7.2.330.0080.01216.94
7.2.320.0080.01116.55
7.2.310.0150.00816.64
7.2.300.0130.00316.58
7.2.290.0070.01116.55
7.2.60.0080.00417.04
7.2.00.0180.00419.49
7.1.200.0060.00615.92
7.1.100.0000.01318.34
7.1.70.0060.00617.16
7.1.60.0100.01419.13
7.1.50.0110.01416.77
7.1.00.0070.07322.45
7.0.200.0030.00517.16
7.0.60.0070.04320.04
7.0.50.0030.06717.82
7.0.40.0030.05019.95
7.0.30.0470.07720.04
7.0.20.0300.04720.04
7.0.10.0030.04320.16
7.0.00.0130.03720.05
5.6.280.0030.05020.99
5.6.210.0070.08320.63
5.6.200.0000.04318.17
5.6.190.0170.06020.46
5.6.180.0200.06320.77
5.6.170.0100.05020.50
5.6.160.0130.08020.52
5.6.150.0130.07318.11
5.6.140.0030.06718.21
5.6.130.0100.03718.21
5.6.120.0070.07720.99
5.6.110.0100.08721.01
5.6.100.0030.06020.96
5.6.90.0070.06321.09
5.6.80.0070.03720.41
5.5.350.3770.03720.31
5.5.340.0000.04318.01
5.5.330.0100.05720.25
5.5.320.0600.03320.28
5.5.310.0170.08720.30
5.5.300.0000.04017.97
5.5.290.0100.06718.02
5.5.280.0170.05020.88
5.5.270.0070.08720.80
5.5.260.0130.07720.77
5.5.250.0030.08020.55
5.5.240.0230.06720.27

preferences:
64.26 ms | 401 KiB | 5 Q