Switch from uuid_create() to random_bytes() (#227)
Switch from uuid_create() to random_bytes() (#227)

uuid_create() is not a PHP core function, but random_bytes() is and has been since PHP 7.0.
Therefore a more sensible way to generate a UUID is the one-liner bin2hex(random_bytes(16)).  This code switches function_exists() check from uuid_create() to random_bytes()
markuspoerschke/iCal,markuspoerschke/iCal