| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | public static function uuid() |
||
| 13 | { |
||
| 14 | return sprintf( |
||
| 15 | '%04x%04x-%04x-%04x-%04x-%04x%04x%04x', |
||
| 16 | mt_rand(0, 0xffff), |
||
| 17 | mt_rand(0, 0xffff), |
||
| 18 | mt_rand(0, 0xffff), |
||
| 19 | mt_rand(0, 0x0fff) | 0x4000, |
||
| 20 | mt_rand(0, 0x3fff) | 0x8000, |
||
| 21 | mt_rand(0, 0xffff), |
||
| 22 | mt_rand(0, 0xffff), |
||
| 23 | mt_rand(0, 0xffff) |
||
| 24 | ); |
||
| 25 | } |
||
| 26 | } |
||
| 27 |