3v4l.org

run code in 300+ PHP versions simultaneously
<?php $uuid = "0eae4703-dce3-4643-91c9-0592cc330150"; $reference = rtrim(base64_encode(hex2bin(str_replace('-', '', $uuid))), '='); var_dump($reference);

preferences:
23.64 ms | 408 KiB | 5 Q