3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
142.01 ms | 1435 KiB | 14 Q