<?php
$begin = (new DateTimeImmutable())->modify('-5 days');
usleep(30);
//var_dump($begin->getTimestamp());
$end = new DateTimeImmutable();
//var_dump($begin);
//var_dump($end);
$diff = $begin->diff($end);
//var_dump($diff);
var_dump($diff->format('%f'));
- Output for 8.3.4
- string(3) "140"
- Output for 7.1.4, 8.0.19, 8.1.1, 8.1.4, 8.1.22, 8.3.3
- string(3) "120"
- Output for 7.2.0, 8.3.2
- string(3) "104"
- Output for 7.1.7, 7.1.9, 7.1.16, 8.1.25, 8.3.1
- string(3) "107"
- Output for 8.3.0
- string(3) "103"
- Output for 7.3.18, 8.2.17
- string(3) "167"
- Output for 7.2.33, 8.2.16
- string(3) "153"
- Output for 7.1.11, 7.2.11 - 7.2.12, 7.3.33, 7.4.20, 7.4.25, 7.4.27, 7.4.29, 8.0.16, 8.1.12 - 8.1.13, 8.1.20, 8.2.1, 8.2.8, 8.2.15
- string(3) "117"
- Output for 7.1.13, 7.1.23, 7.2.8, 7.3.0, 7.4.30, 8.0.21, 8.0.23, 8.1.9, 8.1.14, 8.2.14
- string(3) "113"
- Output for 8.0.24 - 8.0.25, 8.1.8, 8.2.5, 8.2.13
- string(3) "111"
- Output for 7.1.0 - 7.1.1, 7.1.18, 7.1.21, 8.1.7, 8.1.26, 8.2.12
- string(3) "109"
- Output for 7.1.10, 7.4.0, 8.1.27, 8.2.11
- string(3) "110"
- Output for 8.2.10
- string(3) "128"
- Output for 7.1.19, 8.0.7, 8.0.10, 8.0.12, 8.0.22, 8.1.19, 8.1.21, 8.1.23, 8.2.0, 8.2.2, 8.2.6, 8.2.9
- string(3) "119"
- Output for 8.2.7
- string(3) "127"
- Output for 7.2.2, 7.2.5, 7.3.30, 7.4.26, 8.0.13, 8.1.2 - 8.1.3, 8.1.5, 8.2.4
- string(3) "115"
- Output for 7.4.5, 8.0.9, 8.0.28, 8.1.0, 8.1.17, 8.1.24, 8.2.3
- string(3) "114"
- Output for 7.1.5 - 7.1.6, 7.1.20, 7.1.22, 7.1.25, 7.2.3, 7.4.24, 8.0.1, 8.1.6, 8.1.16, 8.1.18
- string(3) "118"
- Output for 7.2.7, 7.4.28, 8.0.14 - 8.0.15, 8.0.26 - 8.0.27, 8.0.29, 8.1.10, 8.1.15
- string(3) "116"
- Output for 7.2.29 - 7.2.30, 7.3.25, 7.4.11, 8.1.11
- string(3) "163"
- Output for 8.0.30
- string(4) "4098"
- Output for 7.2.10, 7.4.32, 8.0.20
- string(3) "112"
- Output for 8.0.11, 8.0.18
- string(3) "124"
- Output for 7.4.33, 8.0.17
- string(3) "122"
- Output for 8.0.8
- string(3) "224"
- Output for 7.2.13, 8.0.6
- string(3) "125"
- Output for 8.0.5
- string(3) "121"
- Output for 7.4.14, 8.0.3
- string(3) "168"
- Output for 7.4.8, 8.0.2
- string(3) "162"
- Output for 7.4.10, 8.0.0
- string(3) "155"
- Output for 7.1.8, 7.4.23
- string(3) "123"
- Output for 7.3.19, 7.4.22
- string(3) "175"
- Output for 7.4.21
- string(3) "178"
- Output for 7.4.4, 7.4.16
- string(3) "142"
- Output for 7.4.15
- string(3) "165"
- Output for 7.4.13
- string(3) "194"
- Output for 7.4.12
- string(3) "158"
- Output for 7.4.9
- string(3) "157"
- Output for 7.4.7
- string(3) "188"
- Output for 7.4.6
- string(3) "174"
- Output for 7.2.31, 7.4.3
- string(3) "161"
- Output for 7.3.32
- string(3) "134"
- Output for 7.3.31
- string(3) "130"
- Output for 7.3.20, 7.3.29
- string(3) "139"
- Output for 7.3.28
- string(3) "172"
- Output for 7.3.21, 7.3.27
- string(3) "144"
- Output for 7.3.26
- string(3) "176"
- Output for 7.3.24
- string(3) "262"
- Output for 7.3.23
- string(3) "141"
- Output for 7.3.17
- string(3) "150"
- Output for 7.3.16
- string(3) "159"
- Output for 7.2.32
- string(3) "218"
- Output for 7.2.9
- string(3) "138"
- Output for 7.2.6
- string(3) "105"
- Output for 7.2.4
- string(3) "129"
- Output for 7.1.15, 7.2.1
- string(3) "108"
- Output for 7.1.24
- string(3) "131"
- Output for 7.1.17
- string(3) "133"
- Output for 7.1.14
- string(3) "146"
- Output for 7.1.12
- string(3) "137"
- Output for 7.1.3
- string(1) "0"
- Output for 7.1.2
- string(3) "106"
- Output for 5.5.8 - 5.5.38, 5.6.0 - 5.6.38, 7.0.0 - 7.0.33
- string(2) "%f"
- Output for 5.5.0 - 5.5.7
- Fatal error: DateTime::diff() must be derived from DateTimeImmutable::diff in Unknown on line 0
Process exited with code 255. - Output for 5.4.0 - 5.4.45
- Fatal error: Class 'DateTimeImmutable' not found in /in/RXjmN on line 2
Process exited with code 255. - Output for 4.4.2 - 4.4.9, 5.1.0 - 5.1.6, 5.2.0 - 5.2.17, 5.3.0 - 5.3.29
- Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /in/RXjmN on line 2
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, 5.0.0 - 5.0.5
- Parse error: parse error, unexpected T_OBJECT_OPERATOR in /in/RXjmN on line 2
Process exited with code 255. - Output for 4.3.2 - 4.3.4
- Parse error: parse error in /in/RXjmN on line 2
Process exited with code 255.
preferences:
329.96 ms | 401 KiB | 418 Q