3v4l.org

run code in 300+ PHP versions simultaneously
<?php $apikey='89c8421dac1a4009a2fac2396ff91ea3'; $apisecret='43ab0e021c96427f908b3939236557e1'; $nonce=1499611343; $uri='https://bittrex.com/api/v1.1/account/getbalance?apikey='.$apikey.'&nonce='.$nonce; $sign=hash_hmac('sha512',$uri,$apisecret); echo ($uri); echo "\n"; echo ($sign);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/IcHo2
function name:  (null)
number of ops:  17
compiled vars:  !0 = $apikey, !1 = $apisecret, !2 = $nonce, !3 = $uri, !4 = $sign
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '89c8421dac1a4009a2fac2396ff91ea3'
    3     1        ASSIGN                                                   !1, '43ab0e021c96427f908b3939236557e1'
    4     2        ASSIGN                                                   !2, 1499611343
    5     3        CONCAT                                           ~8      'https%3A%2F%2Fbittrex.com%2Fapi%2Fv1.1%2Faccount%2Fgetbalance%3Fapikey%3D', !0
          4        CONCAT                                           ~9      ~8, '%26nonce%3D'
          5        CONCAT                                           ~10     ~9, !2
          6        ASSIGN                                                   !3, ~10
    6     7        INIT_FCALL                                               'hash_hmac'
          8        SEND_VAL                                                 'sha512'
          9        SEND_VAR                                                 !3
         10        SEND_VAR                                                 !1
         11        DO_ICALL                                         $12     
         12        ASSIGN                                                   !4, $12
    7    13        ECHO                                                     !3
    8    14        ECHO                                                     '%0A'
    9    15        ECHO                                                     !4
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
170.62 ms | 1398 KiB | 15 Q