<?php
function GetFormattedMicroTime($timestamp = false) {
if(!$timestamp)
$timestamp = microtime(true);
return DateTime::createFromFormat('U.u',sprintf('%.f', $timestamp))->format('Y-m-d\TH:i:s.u');
}
$microtime = microtime(true);
print_r($microtime);
$test = GetFormattedMicroTime();
print_r($test);
- Output for 5.4.5, 7.4.1
- 1403538246.00022014-06-23T15:44:06.000242
- Output for 5.4.33, 7.4.0
- 1403538246.00022014-06-23T15:44:06.000192
- Output for 7.3.13
- 1403538246.00022014-06-23T15:44:06.000247
- Output for 7.3.12
- 1403538246.00022014-06-23T15:44:06.000238
- Output for 5.5.13, 7.3.11
- 1403538246.00022014-06-23T15:44:06.000201
- Output for 7.3.10
- 1403538246.00022014-06-23T15:44:06.024312
- Output for 5.5.17, 7.2.6, 7.2.9, 7.3.9
- 1403538246.00012014-06-23T15:44:06.000182
- Output for 5.6.35, 7.3.8
- 1403538246.00012014-06-23T15:44:06.000160
- Output for 7.3.7
- 1403538246.00022014-06-23T15:44:06.000193
- Output for 5.6.8, 7.3.6
- 1403538246.00022014-06-23T15:44:06.000260
- Output for 7.1.10, 7.1.20, 7.2.0, 7.3.5
- 1403538246.00012014-06-23T15:44:06.000172
- Output for 5.5.26, 7.3.4
- 1403538246.00022014-06-23T15:44:06.000184
- Output for 7.3.3
- 1403538246.00022014-06-23T15:44:06.000181
- Output for 7.3.2
- 1403538246.00022014-06-23T15:44:06.000219
- Output for 7.0.9, 7.2.14, 7.3.1
- 1403538246.00012014-06-23T15:44:06.000141
- Output for 7.3.0
- 1403538246.00022014-06-23T15:44:06.000199
- Output for 7.2.26
- 1403538246.00022014-06-23T15:44:06.000272
- Output for 5.4.41, 7.2.25
- 1403538246.00022014-06-23T15:44:06.000251
- Output for 5.5.5, 7.2.24
- 1403538246.00022014-06-23T15:44:06.000198
- Output for 5.4.29, 5.4.35, 7.1.17, 7.2.23
- 1403538246.00022014-06-23T15:44:06.000213
- Output for 7.2.22
- 1403538246.00032014-06-23T15:44:06.000313
- Output for 5.5.19, 7.1.16, 7.2.21
- 1403538246.00022014-06-23T15:44:06.000204
- Output for 5.4.21, 7.1.14, 7.2.20
- 1403538246.00012014-06-23T15:44:06.000174
- Output for 5.4.31, 7.2.19
- 1403538246.00022014-06-23T15:44:06.000189
- Output for 7.2.18
- 1403538246.00022014-06-23T15:44:06.000250
- Output for 7.2.17
- 1403538246.00022014-06-23T15:44:06.000187
- Output for 7.2.16
- 1403538246.00022014-06-23T15:44:06.000257
- Output for 7.2.15
- 1403538246.00022014-06-23T15:44:06.000211
- Output for 7.2.13
- 1403538246.00022014-06-23T15:44:06.000200
- Output for 7.0.32, 7.2.12
- 1403538246.00012014-06-23T15:44:06.000164
- Output for 7.0.21, 7.2.11
- 1403538246.00012014-06-23T15:44:06.000184
- Output for 7.0.23, 7.2.3, 7.2.10
- 1403538246.00012014-06-23T15:44:06.000133
- Output for 5.6.11, 7.1.18, 7.2.8
- 1403538246.00022014-06-23T15:44:06.000202
- Output for 7.1.29, 7.2.7
- 1403538246.00012014-06-23T15:44:06.000147
- Output for 5.4.2, 5.4.17, 5.6.25, 7.2.5
- 1403538246.00022014-06-23T15:44:06.000196
- Output for 5.4.13, 5.4.36, 5.6.34, 7.1.25, 7.2.4
- 1403538246.00012014-06-23T15:44:06.000149
- Output for 7.2.2
- 1403538246.00022014-06-23T15:44:06.000195
- Output for 5.4.24, 5.5.22, 5.5.37, 7.1.33, 7.2.1
- 1403538246.00012014-06-23T15:44:06.000151
- Output for 5.5.24, 5.6.17, 7.1.32
- 1403538246.00012014-06-23T15:44:06.000154
- Output for 5.6.2, 7.0.24, 7.1.31
- 1403538246.00012014-06-23T15:44:06.000148
- Output for 7.0.5, 7.1.2, 7.1.30
- 1403538246.00022014-06-23T15:44:06.000203
- Output for 5.4.43, 5.5.33, 7.1.28
- 1403538246.00022014-06-23T15:44:06.000214
- Output for 5.4.27, 7.0.17, 7.1.27
- 1403538246.00022014-06-23T15:44:06.000215
- Output for 7.0.30, 7.1.26
- 1403538246.00012014-06-23T15:44:06.000150
- Output for 7.1.24
- 1403538246.00022014-06-23T15:44:06.000197
- Output for 5.6.5, 5.6.14, 7.0.10, 7.1.23
- 1403538246.00012014-06-23T15:44:06.000143
- Output for 5.4.25, 7.0.0, 7.1.11, 7.1.22
- 1403538246.00012014-06-23T15:44:06.000137
- Output for 7.1.21
- 1403538246.00012014-06-23T15:44:06.000169
- Output for 5.4.16, 5.5.35, 5.6.39, 7.1.19
- 1403538246.00022014-06-23T15:44:06.000210
- Output for 5.5.9, 7.1.15
- 1403538246.00012014-06-23T15:44:06.000157
- Output for 7.1.13
- 1403538246.00012014-06-23T15:44:06.000168
- Output for 5.5.0, 7.1.12
- 1403538246.00012014-06-23T15:44:06.000136
- Output for 7.1.9
- 1403538246.00012014-06-23T15:44:06.000139
- Output for 7.0.25, 7.1.8
- 1403538246.00012014-06-23T15:44:06.000142
- Output for 7.1.7
- 1403538246.00012014-06-23T15:44:06.000166
- Output for 5.6.26, 5.6.40, 7.1.6
- 1403538246.00012014-06-23T15:44:06.000159
- Output for 7.1.5
- 1403538246.00012014-06-23T15:44:06.000189
- Output for 7.1.4
- 1403538246.00022014-06-23T15:44:06.000218
- Output for 5.5.4, 5.6.9, 5.6.33, 7.0.1, 7.1.3
- 1403538246.00012014-06-23T15:44:06.000152
- Output for 5.5.29, 7.0.13, 7.0.16, 7.0.18, 7.0.22, 7.1.1
- 1403538246.00012014-06-23T15:44:06.000144
- Output for 5.6.12, 7.1.0
- 1403538246.00012014-06-23T15:44:06.000196
- Output for 7.0.20, 7.0.33
- 1403538246.00012014-06-23T15:44:06.000146
- Output for 7.0.4, 7.0.31
- 1403538246.00012014-06-23T15:44:06.000177
- Output for 7.0.29
- 1403538246.00012014-06-23T15:44:06.000180
- Output for 5.6.38, 7.0.28
- 1403538246.00022014-06-23T15:44:06.000209
- Output for 7.0.27
- 1403538246.00012014-06-23T15:44:06.000125
- Output for 7.0.14, 7.0.26
- 1403538246.00012014-06-23T15:44:06.000127
- Output for 7.0.19
- 1403538246.00012014-06-23T15:44:06.000170
- Output for 7.0.15
- 1403538246.00012014-06-23T15:44:06.000193
- Output for 7.0.12
- 1403538246.00012014-06-23T15:44:06.000126
- Output for 7.0.11
- 1403538246.00022014-06-23T15:44:06.000252
- Output for 5.6.36, 7.0.8
- 1403538246.00022014-06-23T15:44:06.000206
- Output for 7.0.7
- 1403538246.00012014-06-23T15:44:06.000138
- Output for 7.0.6
- 1403538246.00022014-06-23T15:44:06.000289
- Output for 7.0.3
- 1403538246.00012014-06-23T15:44:06.000128
- Output for 5.6.28, 7.0.2
- 1403538246.00012014-06-23T15:44:06.000156
- Output for 5.5.2, 5.6.37
- 1403538246.00022014-06-23T15:44:06.000232
- Output for 5.6.31 - 5.6.32
- 1403538246.00012014-06-23T15:44:06.000163
- Output for 5.6.30
- 1403538246.00022014-06-23T15:44:06.000233
- Output for 5.4.40, 5.6.29
- 1403538246.00012014-06-23T15:44:06.000155
- Output for 5.6.27
- 1403538246.00012014-06-23T15:44:06.000187
- Output for 5.6.7, 5.6.24
- 1403538246.00012014-06-23T15:44:06.000173
- Output for 5.4.22, 5.6.23
- 1403538246.00022014-06-23T15:44:06.000266
- Output for 5.6.22
- 1403538246.00022014-06-23T15:44:06.000283
- Output for 5.4.7, 5.4.44, 5.5.20, 5.6.21
- 1403538246.00012014-06-23T15:44:06.000165
- Output for 5.4.30, 5.5.38, 5.6.13, 5.6.19 - 5.6.20
- 1403538246.00022014-06-23T15:44:06.000217
- Output for 5.5.27, 5.6.18
- 1403538246.00012014-06-23T15:44:06.000145
- Output for 5.6.16
- 1403538246.00012014-06-23T15:44:06.000167
- Output for 5.6.15
- 1403538246.00022014-06-23T15:44:06.000258
- Output for 5.4.3, 5.6.3, 5.6.10
- 1403538246.00012014-06-23T15:44:06.000161
- Output for 5.6.6
- 1403538246.00022014-06-23T15:44:06.000190
- Output for 5.6.4
- 1403538246.00022014-06-23T15:44:06.000225
- Output for 5.6.1
- 1403538246.00012014-06-23T15:44:06.000192
- Output for 5.4.11, 5.5.3, 5.6.0
- 1403538246.00022014-06-23T15:44:06.000227
- Output for 5.5.36
- 1403538246.00022014-06-23T15:44:06.032861
- Output for 5.5.34
- 1403538246.00022014-06-23T15:44:06.029321
- Output for 5.4.14, 5.5.32
- 1403538246.00012014-06-23T15:44:06.000186
- Output for 5.5.31
- 1403538246.00012014-06-23T15:44:06.015414
- Output for 5.4.39, 5.5.30
- 1403538246.00012014-06-23T15:44:06.000171
- Output for 5.5.28
- 1403538246.00012014-06-23T15:44:06.023030
- Output for 5.5.25
- 1403538246.00012014-06-23T15:44:06.103756
- Output for 5.5.23
- 1403538246.00012014-06-23T15:44:06.068316
- Output for 5.5.21
- 1403538246.00022014-06-23T15:44:06.026896
- Output for 5.5.18
- 1403538246.00032014-06-23T15:44:06.000324
- Output for 5.5.16
- 1403538246.04092014-06-23T15:44:06.040981
- Output for 5.5.15
- 1403538246.02512014-06-23T15:44:06.030816
- Output for 5.5.14
- 1403538246.05442014-06-23T15:44:06.054508
- Output for 5.5.12
- 1403538246.00012014-06-23T15:44:06.039381
- Output for 5.5.11
- 1403538246.00012014-06-23T15:44:06.044974
- Output for 5.5.10
- 1403538246.00022014-06-23T15:44:06.044214
- Output for 5.5.8
- 1403538246.00022014-06-23T15:44:06.089892
- Output for 5.5.7
- 1403538246.00022014-06-23T15:44:06.000223
- Output for 5.5.6
- 1403538246.00022014-06-23T15:44:06.000275
- Output for 5.5.1
- 1403538246.00022014-06-23T15:44:06.000246
- Output for 5.4.45
- 1403538246.00012014-06-23T15:44:06.000179
- Output for 5.4.42
- 1403538246.00022014-06-23T15:44:06.000305
- Output for 5.4.38
- 1403538246.00022014-06-23T15:44:06.000264
- Output for 5.4.37
- 1403538246.00012014-06-23T15:44:06.000135
- Output for 5.4.34
- 1403538246.00022014-06-23T15:44:06.000237
- Output for 5.4.32
- 1403538246.00012014-06-23T15:44:06.000198
- Output for 5.4.28
- 1403538246.00022014-06-23T15:44:06.000265
- Output for 5.4.26
- 1403538246.00022014-06-23T15:44:06.000268
- Output for 5.4.23
- 1403538246.00022014-06-23T15:44:06.000205
- Output for 5.4.20
- 1403538246.00022014-06-23T15:44:06.000235
- Output for 5.4.19
- 1403538246.00022014-06-23T15:44:06.000230
- Output for 5.4.18
- 1403538246.00022014-06-23T15:44:06.000239
- Output for 5.4.15
- 1403538246.00012014-06-23T15:44:06.000218
- Output for 5.4.12
- 1403538246.00012014-06-23T15:44:06.000175
- Output for 5.4.10
- 1403538246.00022014-06-23T15:44:06.000284
- Output for 5.4.9
- 1403538246.00022014-06-23T15:44:06.000244
- Output for 5.4.8
- 1403538246.00022014-06-23T15:44:06.000280
- Output for 5.4.6
- 1403538246.00022014-06-23T15:44:06.000263
- Output for 5.4.4
- 1403538246.00022014-06-23T15:44:06.000277
- Output for 5.4.1
- 1403538246.00022014-06-23T15:44:06.000294
- Output for 5.4.0
- 1403538246.00032014-06-23T15:44:06.000314
- Output for 5.3.19, 5.3.29
- 1403538246.00012014-06-23T15:44:06.000054
- Output for 5.3.28
- 1403538246.00012014-06-23T15:44:06.000050
- Output for 5.3.27
- 1403538246.00012014-06-23T15:44:06.000036
- Output for 5.3.26
- 1403538246.00012014-06-23T15:44:06.000064
- Output for 5.3.25
- 1403538246.00012014-06-23T15:44:06.000033
- Output for 5.3.24
- 1403538246.00012014-06-23T15:44:06.000049
- Output for 5.3.7, 5.3.23
- 1403538246.00012014-06-23T15:44:06.000038
- Output for 5.3.22
- 1403538246.00012014-06-23T15:44:06.000044
- Output for 5.3.21
- 1403538246.00012014-06-23T15:44:06.000047
- Output for 5.3.17, 5.3.20
- 1403538246.00012014-06-23T15:44:06.000051
- Output for 5.3.18
- 1403538246.00012014-06-23T15:44:06.000043
- Output for 5.3.16
- 1403538246.00012014-06-23T15:44:06.000027
- Output for 5.3.15
- 1403538246.00012014-06-23T15:44:06.000034
- Output for 5.3.2, 5.3.8, 5.3.14
- 1403538246.00012014-06-23T15:44:06.000030
- Output for 5.3.13
- 1403538246.00012014-06-23T15:44:06.000046
- Output for 5.3.12
- 1403538246.00012014-06-23T15:44:06.000037
- Output for 5.3.11
- 1403538246.00012014-06-23T15:44:06.000032
- Output for 5.3.10
- 1403538246.00012014-06-23T15:44:06.000058
- Output for 5.3.9
- 1403538247.00012014-06-23T15:44:07.000049
- Output for 5.3.6
- 1403538246.00012014-06-23T15:44:06.000031
- Output for 5.3.5
- 1403538246.00012014-06-23T15:44:06.120634
- Output for 5.3.4
- 1403538246.00012014-06-23T15:44:06.017569
- Output for 5.3.3
- 1403538246.00012014-06-23T15:44:06.021372
- Output for 5.3.1
- 1403538246.00012014-06-23T15:44:06.000029
- Output for 5.3.0
- 1403538246.0001
Fatal error: Call to a member function format() on a non-object in /in/OSPEn on line 5
Process exited with code 255. - Output for 5.2.17
- 1403538255.0122
Fatal error: Call to undefined method DateTime::createFromFormat() in /in/OSPEn on line 5
Process exited with code 255. - Output for 5.2.16
- 1403538255.1442
Fatal error: Call to undefined method DateTime::createFromFormat() in /in/OSPEn on line 5
Process exited with code 255. - Output for 5.2.15
- 1403538255.1983
Fatal error: Call to undefined method DateTime::createFromFormat() in /in/OSPEn on line 5
Process exited with code 255. - Output for 5.2.14
- 1403538255.2525
Fatal error: Call to undefined method DateTime::createFromFormat() in /in/OSPEn on line 5
Process exited with code 255. - Output for 5.2.13
- 1403538255.3035
Fatal error: Call to undefined method DateTime::createFromFormat() in /in/OSPEn on line 5
Process exited with code 255. - Output for 5.2.12
- 1403538255.3877
Fatal error: Call to undefined method DateTime::createFromFormat() in /in/OSPEn on line 5
Process exited with code 255. - Output for 5.2.11
- 1403538255.4371
Fatal error: Call to undefined method DateTime::createFromFormat() in /in/OSPEn on line 5
Process exited with code 255. - Output for 5.2.10
- 1403538255.4873
Fatal error: Call to undefined method DateTime::createFromFormat() in /in/OSPEn on line 5
Process exited with code 255. - Output for 5.2.9
- 1403538255.526
Fatal error: Call to undefined method DateTime::createfromformat() in /in/OSPEn on line 5
Process exited with code 255. - Output for 5.2.8
- 1403538255.565
Fatal error: Call to undefined method DateTime::createfromformat() in /in/OSPEn on line 5
Process exited with code 255. - Output for 5.2.7
- 1403538255.6027
Fatal error: Call to undefined method DateTime::createfromformat() in /in/OSPEn on line 5
Process exited with code 255. - Output for 5.2.6
- 1403538255.6396
Fatal error: Call to undefined method DateTime::createfromformat() in /in/OSPEn on line 5
Process exited with code 255. - Output for 5.2.5
- 1403538255.6793
Fatal error: Call to undefined method DateTime::createfromformat() in /in/OSPEn on line 5
Process exited with code 255. - Output for 5.2.4
- 1403538255.7158
Fatal error: Call to undefined method DateTime::createfromformat() in /in/OSPEn on line 5
Process exited with code 255. - Output for 5.2.3
- 1403538255.7542
Fatal error: Call to undefined method DateTime::createfromformat() in /in/OSPEn on line 5
Process exited with code 255. - Output for 5.2.2
- 1403538255.7907
Fatal error: Call to undefined method DateTime::createfromformat() in /in/OSPEn on line 5
Process exited with code 255. - Output for 5.2.1
- 1403538255.826
Fatal error: Call to undefined method DateTime::createfromformat() in /in/OSPEn on line 5
Process exited with code 255. - Output for 5.2.0
- 1403538255.8635
Fatal error: Call to undefined method DateTime::createfromformat() in /in/OSPEn on line 5
Process exited with code 255. - Output for 5.1.6
- 1403538255.8959
Fatal error: Class 'DateTime' not found in /in/OSPEn on line 5
Process exited with code 255. - Output for 5.1.5
- 1403538255.928
Fatal error: Class 'DateTime' not found in /in/OSPEn on line 5
Process exited with code 255. - Output for 5.1.4
- 1403538255.9597
Fatal error: Class 'DateTime' not found in /in/OSPEn on line 5
Process exited with code 255. - Output for 5.1.3
- 1403538255.9947
Fatal error: Class 'DateTime' not found in /in/OSPEn on line 5
Process exited with code 255. - Output for 5.1.2
- 1403538256.0294
Fatal error: Class 'DateTime' not found in /in/OSPEn on line 5
Process exited with code 255. - Output for 5.1.1
- 1403538256.063
Fatal error: Class 'DateTime' not found in /in/OSPEn on line 5
Process exited with code 255. - Output for 5.1.0
- 1403538256.0962
Fatal error: Class 'DateTime' not found in /in/OSPEn on line 5
Process exited with code 255. - Output for 5.0.5
- 1403538256.1247
Fatal error: Class 'DateTime' not found in /in/OSPEn on line 5
Process exited with code 255. - Output for 5.0.4
- 1403538256.1513
Fatal error: Class 'DateTime' not found in /in/OSPEn on line 5
Process exited with code 255. - Output for 5.0.3
- 1403538256.1967
Fatal error: Class 'DateTime' not found in /in/OSPEn on line 5
Process exited with code 255. - Output for 5.0.2
- 1403538256.2634
Fatal error: Class 'DateTime' not found in /in/OSPEn on line 5
Process exited with code 255. - Output for 5.0.1
- 1403538256.2913
Fatal error: Class 'DateTime' not found in /in/OSPEn on line 5
Process exited with code 255. - Output for 5.0.0
- 1403538256.3347
Fatal error: Class 'DateTime' not found in /in/OSPEn on line 5
Process exited with code 255. - Output for 4.4.2 - 4.4.9
- Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /in/OSPEn on line 5
Process exited with code 255. - Output for 4.3.0 - 4.3.1, 4.3.5 - 4.3.11, 4.4.0 - 4.4.1
- Parse error: parse error, unexpected T_OBJECT_OPERATOR in /in/OSPEn on line 5
Process exited with code 255. - Output for 4.3.2 - 4.3.4
- Parse error: parse error in /in/OSPEn on line 5
Process exited with code 255.
preferences:
234.73 ms | 401 KiB | 325 Q