File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # https://editorconfig.org/
2+
3+ root = true
4+
5+ [* ]
6+ trim_trailing_whitespace = true
7+ insert_final_newline = true
8+ end_of_line = lf
9+ charset = utf-8
10+ indent_style = space
11+
12+ [* .php ]
13+ indent_size = 4
14+
15+ [* .{yml,yaml} ]
16+ indent_size = 2
Original file line number Diff line number Diff line change @@ -112,10 +112,10 @@ $cmp3 = UUID::cmp(
112112var_dump($cmp3 === 0); // bool(true)
113113
114114// Extract Unix time from versions 6 and 7 as a string.
115- $uuid6_time = UUID::getTime(UUID::uuid6() );
116- var_dump($uuid6_time); // e.g. string(18) "1639860190.2801270 "
117- $uuid7_time = UUID::getTime(UUID::uuid7() );
118- var_dump($uuid7_time); // e.g. string(18) "1639860190.2801320 "
115+ $uuid6_time = UUID::getTime('1ebacf4f-a4a8-68ee-b4ec-618c14d005d5' );
116+ var_dump($uuid6_time); // string(18) "1620145373.6118510 "
117+ $uuid7_time = UUID::getTime('061a3d43-61d0-7cf4-bfce-753dadab55e1' );
118+ var_dump($uuid7_time); // string(18) "1638126646.1903860 "
119119
120120// Extract the UUID version.
121121$uuid_version = UUID::getVersion('2140a926-4a47-465c-b622-4571ad9bb378');
You can’t perform that action at this time.
0 commit comments