Created
April 1, 2023 01:38
-
-
Save rolandfarkasCOM/e450c8fd0693e3d8918cc42faa16af5d to your computer and use it in GitHub Desktop.
A class to return UUID on UNIX systems in php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class UUID { | |
public static function new() { | |
return file_get_contents('/proc/sys/kernel/random/uuid'); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment