3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $uuid = "0eae4703-dce3-4643-91c9-0592cc330150"; $reference = rtrim(base64_encode(hex2bin(str_replace('-', '', $uuid))), '='); var_dump($reference);
based on CYVuv
Output for 5.6.0 - 5.6.30, hhvm-3.18.5 - 3.22.0, 7.0.0 - 7.1.10
string(22) "Dq5HA9zjRkORyQWSzDMBUA"