3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = hash_hmac('sha512', 'BulletBillPop_Mac', '09021520C5B142B9B124B79AFBD05F7F', true); $h = hash('sha512', 'BulletBillPop_Mac', true).digest(); echo $h; echo '-----'; echo base64_encode('BulletBillPop_Mac:' . $s); echo '-----'; echo rawurlencode( base64_encode('BulletBillPop_Mac:' . $s));

preferences:
52.1 ms | 402 KiB | 5 Q