3v4l.org

run code in 300+ PHP versions simultaneously
<?php $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.0070.01018.68
8.3.50.0040.01116.59
8.3.40.0110.00619.09
8.3.30.0110.00418.77
8.3.20.0040.00420.35
8.3.10.0080.00023.57
8.3.00.0060.00319.79
8.2.180.0120.00916.63
8.2.170.0090.00622.96
8.2.160.0070.00720.47
8.2.150.0060.00324.18
8.2.140.0040.00424.66
8.2.130.0040.00420.98
8.2.120.0030.00526.35
8.2.110.0040.00420.52
8.2.100.0070.00717.91
8.2.90.0040.00418.16
8.2.80.0030.00517.97
8.2.70.0050.00517.75
8.2.60.0040.00417.63
8.2.50.0040.00417.55
8.2.40.0040.00417.63
8.2.30.0040.00420.63
8.2.20.0060.00317.84
8.2.10.0040.00418.06
8.2.00.0040.00418.02
8.1.280.0070.00725.92
8.1.270.0040.00420.45
8.1.260.0040.00428.09
8.1.250.0050.00328.09
8.1.240.0110.00023.91
8.1.230.0080.00320.88
8.1.220.0040.00417.78
8.1.210.0080.00018.77
8.1.200.0080.00017.35
8.1.190.0040.00417.48
8.1.180.0060.00318.10
8.1.170.0080.00017.62
8.1.160.0040.00420.69
8.1.150.0080.00018.89
8.1.140.0080.00019.59
8.1.130.0000.00717.72
8.1.120.0040.00417.44
8.1.110.0030.00617.51
8.1.100.0040.00417.45
8.1.90.0040.00417.54
8.1.80.0040.00417.59
8.1.70.0030.00317.43
8.1.60.0030.00617.63
8.1.50.0060.00317.56
8.1.40.0000.00817.53
8.1.30.0030.00617.52
8.1.20.0000.00817.63
8.1.10.0060.00317.43
8.1.00.0040.00417.45
8.0.300.0040.00420.03
8.0.290.0040.00416.75
8.0.280.0060.00018.52
8.0.270.0030.00516.96
8.0.260.0000.00817.19
8.0.250.0030.00316.98
8.0.240.0030.00316.99
8.0.230.0030.00316.99
8.0.220.0060.00317.05
8.0.210.0040.00417.07
8.0.200.0030.00317.00
8.0.190.0000.00817.08
8.0.180.0040.00417.05
8.0.170.0030.00617.02
8.0.160.0000.00716.96
8.0.150.0070.00416.98
8.0.140.0000.00716.83
8.0.130.0030.00313.36
8.0.120.0040.00416.94
8.0.110.0040.00416.91
8.0.100.0050.00216.77
8.0.90.0000.00716.86
8.0.80.0060.01017.01
8.0.70.0040.00417.04
8.0.60.0000.00716.92
8.0.50.0040.00416.95
8.0.30.0130.00617.21
8.0.20.0070.01117.40
8.0.10.0050.00316.93
8.0.00.0090.01216.81
7.4.330.0050.00016.84
7.4.320.0030.00316.60
7.4.300.0030.00316.67
7.4.290.0000.00816.64
7.4.280.0100.00016.50
7.4.270.0000.00616.43
7.4.260.0090.00316.62
7.4.250.0080.00016.59
7.4.240.0030.00416.53
7.4.230.0030.00316.62
7.4.220.0090.00916.55
7.4.210.0070.00716.48
7.4.200.0070.00016.41
7.4.160.0130.00316.57
7.4.150.0180.00017.40
7.4.140.0090.01017.86
7.4.130.0150.00916.72
7.4.120.0100.00716.70
7.4.110.0110.00816.59
7.4.100.0150.00416.77
7.4.90.0060.01016.53
7.4.80.0090.00919.39
7.4.70.0070.01016.68
7.4.60.0120.00616.65
7.4.50.0110.00316.19
7.4.40.0110.00616.63
7.4.30.0100.01316.45
7.4.00.0070.00714.92
7.3.330.0000.00513.13
7.3.320.0030.00313.12
7.3.310.0000.00716.18
7.3.300.0000.00716.24
7.3.290.0080.00916.27
7.3.280.0090.00716.29
7.3.270.0070.01017.40
7.3.260.0130.00316.68
7.3.240.0110.00616.49
7.3.230.0040.01816.39
7.3.210.0130.00316.51
7.3.200.0030.01316.21
7.3.190.0160.00016.54
7.3.180.0160.00016.32
7.3.170.0030.01716.38
7.3.160.0130.00316.67
7.3.10.0070.00816.44
7.3.00.0070.00716.41
7.2.330.0070.01016.57
7.2.320.0120.01216.59
7.2.310.0070.01016.71
7.2.300.0090.00816.54
7.2.290.0080.01416.46
7.2.130.0100.00816.57
7.2.120.0130.00616.76
7.2.110.0070.00916.77
7.2.100.0110.00816.74
7.2.90.0120.00716.67
7.2.80.0100.00616.53
7.2.70.0070.01116.71
7.2.60.0100.00516.71
7.2.50.0160.00316.78
7.2.40.0100.00916.56
7.2.30.0070.01116.72
7.2.20.0120.00416.59
7.2.10.0060.00616.51
7.2.00.0090.00517.73
7.1.250.0140.00315.62
7.1.200.0070.00715.92
7.1.100.0040.01118.18
7.1.70.0080.00017.24
7.1.60.0140.01019.13
7.1.50.0030.01316.57
7.1.00.0030.07322.36
7.0.200.0050.00316.75
7.0.60.0000.08321.85
7.0.50.0100.08017.82
7.0.40.0170.05020.27
7.0.30.0400.05720.22
7.0.20.0130.04720.38
7.0.10.0070.04020.09
7.0.00.0130.03720.08
5.6.280.0070.03320.89
5.6.210.0070.07320.58
5.6.200.0000.07318.21
5.6.190.0170.07720.35
5.6.180.0200.06020.41
5.6.170.0270.05020.53
5.6.160.0070.07720.51
5.6.150.0070.06718.13
5.6.140.0000.04318.11
5.6.130.0030.06718.21
5.6.120.0130.07721.17
5.6.110.0030.06720.96
5.6.100.0070.07321.10
5.6.90.0030.08320.87
5.6.80.0070.06720.28
5.5.350.0300.07020.33
5.5.340.0130.05017.95
5.5.330.0070.04320.41
5.5.320.0530.03720.32
5.5.310.0230.04320.17
5.5.300.0000.04017.98
5.5.290.0130.04017.97
5.5.280.0000.09020.87
5.5.270.0000.08320.96
5.5.260.0170.05320.76
5.5.250.0030.04320.71
5.5.240.0070.07720.12

preferences:
62.77 ms | 400 KiB | 5 Q