how can I get 16 bytes binary form of the uuid from its string/canonical representation:
ex:1968ec4a-2a73-11df-9aca-00012e27a270
cheers, /Marcin
$bin = pack("h*", str_replace('-', '', $guid));
pack
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With