3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_GET['str1'] = ["a"]; $_GET['str2'] = ["b"]; $hash1 = hash("sha256", $_GET['str1']); echo $hash1;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/je04o
function name:  (null)
number of ops:  15
compiled vars:  !0 = $hash1
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   FETCH_W                      global              $1      '_GET'
          1        ASSIGN_DIM                                               $1, 'str1'
          2        OP_DATA                                                  <array>
    3     3        FETCH_W                      global              $3      '_GET'
          4        ASSIGN_DIM                                               $3, 'str2'
          5        OP_DATA                                                  <array>
    4     6        INIT_FCALL                                               'hash'
          7        SEND_VAL                                                 'sha256'
          8        FETCH_R                      global              ~5      '_GET'
          9        FETCH_DIM_R                                      ~6      ~5, 'str1'
         10        SEND_VAL                                                 ~6
         11        DO_ICALL                                         $7      
         12        ASSIGN                                                   !0, $7
    5    13        ECHO                                                     !0
    6    14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
139.2 ms | 1435 KiB | 14 Q