3v4l.org

run code in 300+ PHP versions simultaneously
<?php function menuPokaz($id, $id_menu2=0) { echo 'jakaś tam treść'; $drzewo = $this->menuPokaz($id, $row['id_menu']); echo $drzewo; } $id = 4; $mm = 4; $row["id_menu"] = 8; // globalna menuPokaz($id,$mm);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/HUCev
function name:  (null)
number of ops:  9
compiled vars:  !0 = $id, !1 = $mm, !2 = $row
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   ASSIGN                                                   !0, 4
    9     1        ASSIGN                                                   !1, 4
   10     2        ASSIGN_DIM                                               !2, 'id_menu'
          3        OP_DATA                                                  8
   11     4        INIT_FCALL                                               'menupokaz'
          5        SEND_VAR                                                 !0
          6        SEND_VAR                                                 !1
          7        DO_FCALL                                      0          
          8      > RETURN                                                   1

Function menupokaz:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/HUCev
function name:  menuPokaz
number of ops:  13
compiled vars:  !0 = $id, !1 = $id_menu2, !2 = $drzewo, !3 = $row
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   RECV                                             !0      
          1        RECV_INIT                                        !1      0
    3     2        ECHO                                                     'jaka%C5%9B+tam+tre%C5%9B%C4%87'
    4     3        FETCH_THIS                                       $4      
          4        INIT_METHOD_CALL                                         $4, 'menuPokaz'
          5        SEND_VAR_EX                                              !0
          6        CHECK_FUNC_ARG                                           
          7        FETCH_DIM_FUNC_ARG                               $5      !3, 'id_menu'
          8        SEND_FUNC_ARG                                            $5
          9        DO_FCALL                                      0  $6      
         10        ASSIGN                                                   !2, $6
    5    11        ECHO                                                     !2
    6    12      > RETURN                                                   null

End of function menupokaz

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
173.35 ms | 1398 KiB | 14 Q