3v4l.org

run code in 300+ PHP versions simultaneously
<?php $merchant = 'VICTORIA_BRIDES'; $secretKey = '53b9565a-f717-42e1-990c-ba64a3598901'; echo base64_encode( hash_hmac( 'sha512', $merchant . \json_encode(['order_id' => 1000001067]) . $merchant, $secretKey ) );

preferences:
42.07 ms | 402 KiB | 5 Q