3v4l.org

run code in 300+ PHP versions simultaneously
<?php $sql = array("inUserID" => "lemon", "inCustID" => "orange", "btAll" => "banana", "btPermPref" => "apple", "inDisplay"=>"toast"); function pram_alter($array, $key) { "exec @$key = .'$array'. \n"; } //$temp=array(); $temp=array(pram_alter($sql, 'pram_alter')); echo print_r(array_walk); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/6dRbP
function name:  (null)
number of ops:  13
compiled vars:  !0 = $sql, !1 = $temp
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
   11     1        INIT_FCALL                                               'pram_alter'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 'pram_alter'
          4        DO_FCALL                                      0  $3      
          5        INIT_ARRAY                                       ~4      $3
          6        ASSIGN                                                   !1, ~4
   12     7        INIT_FCALL                                               'print_r'
          8        FETCH_CONSTANT                                   ~6      'array_walk'
          9        SEND_VAL                                                 ~6
         10        DO_ICALL                                         $7      
         11        ECHO                                                     $7
   15    12      > RETURN                                                   1

Function pram_alter:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/6dRbP
function name:  pram_alter
number of ops:  9
compiled vars:  !0 = $array, !1 = $key
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   RECV                                             !0      
          1        RECV                                             !1      
    6     2        ROPE_INIT                                     5  ~3      'exec+%40'
          3        ROPE_ADD                                      1  ~3      ~3, !1
          4        ROPE_ADD                                      2  ~3      ~3, '+%3D+.%27'
          5        ROPE_ADD                                      3  ~3      ~3, !0
          6        ROPE_END                                      4  ~2      ~3, '%27.+%0A'
          7        FREE                                                     ~2
    9     8      > RETURN                                                   null

End of function pram_alter

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
193.34 ms | 1397 KiB | 16 Q