3v4l.org

run code in 300+ PHP versions simultaneously
<?php $guid = '36a75830-be27-e111-a4dc-0050568b2fc3'; $secret = 'R3loadN3tcompanyIda'; $string = $secret . $guid; $unicode = mb_convert_encoding($string, 'UTF-8'); $hash = hash('sha256', $unicode, TRUE); $signature = base64_encode($hash); print $hash;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/oQgbZ
function name:  (null)
number of ops:  21
compiled vars:  !0 = $guid, !1 = $secret, !2 = $string, !3 = $unicode, !4 = $hash, !5 = $signature
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '36a75830-be27-e111-a4dc-0050568b2fc3'
    4     1        ASSIGN                                                   !1, 'R3loadN3tcompanyIda'
    6     2        CONCAT                                           ~8      !1, !0
          3        ASSIGN                                                   !2, ~8
    8     4        INIT_FCALL                                               'mb_convert_encoding'
          5        SEND_VAR                                                 !2
          6        SEND_VAL                                                 'UTF-8'
          7        DO_ICALL                                         $10     
          8        ASSIGN                                                   !3, $10
    9     9        INIT_FCALL                                               'hash'
         10        SEND_VAL                                                 'sha256'
         11        SEND_VAR                                                 !3
         12        SEND_VAL                                                 <true>
         13        DO_ICALL                                         $12     
         14        ASSIGN                                                   !4, $12
   10    15        INIT_FCALL                                               'base64_encode'
         16        SEND_VAR                                                 !4
         17        DO_ICALL                                         $14     
         18        ASSIGN                                                   !5, $14
   12    19        ECHO                                                     !4
         20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.47 ms | 1395 KiB | 19 Q