3v4l.org

run code in 300+ PHP versions simultaneously
<?php $rows['emp_id'] = 333; $concatenated_string = "hello"; $checked1 = 1;// $row['rmc_induction_softskill']; $checked2= 1;//$row['rmc_induction_neo']; $checked3 = 0;//$row['rmc_induction_itil']; $checked4 = 1;//$row['rmc_induction_hr_induction']; $checked5 = 0;//$row['rmc_induction_vmware']; $checked6 = 0;//$row['rmc_induction_lss']; for ($i=1; $i<=6; $i++) { $checked = ${'checked'.$i}; echo $checked; echo ' <td align="center" bgcolor="#E6E6FA"> <input type="checkbox" id="'.$i.$rows['emp_id'].'" name="Emails[]" value="'.$i.';'.$concatenated_string.'" '.($checked == 1)?'checked':''.' onclick="check('.$i.$rows['emp_id'].');" /> </td>'; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 35
Branch analysis from position: 35
2 jumps found. (Code = 44) Position 1 = 37, Position 2 = 11
Branch analysis from position: 37
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
2 jumps found. (Code = 43) Position 1 = 26, Position 2 = 28
Branch analysis from position: 26
1 jumps found. (Code = 42) Position 1 = 33
Branch analysis from position: 33
2 jumps found. (Code = 44) Position 1 = 37, Position 2 = 11
Branch analysis from position: 37
Branch analysis from position: 11
Branch analysis from position: 28
2 jumps found. (Code = 44) Position 1 = 37, Position 2 = 11
Branch analysis from position: 37
Branch analysis from position: 11
filename:       /in/m1VRS
function name:  (null)
number of ops:  38
compiled vars:  !0 = $rows, !1 = $concatenated_string, !2 = $checked1, !3 = $checked2, !4 = $checked3, !5 = $checked4, !6 = $checked5, !7 = $checked6, !8 = $i, !9 = $checked
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN_DIM                                               !0, 'emp_id'
          1        OP_DATA                                                  333
    5     2        ASSIGN                                                   !1, 'hello'
    7     3        ASSIGN                                                   !2, 1
    8     4        ASSIGN                                                   !3, 1
    9     5        ASSIGN                                                   !4, 0
   10     6        ASSIGN                                                   !5, 1
   11     7        ASSIGN                                                   !6, 0
   12     8        ASSIGN                                                   !7, 0
   17     9        ASSIGN                                                   !8, 1
         10      > JMP                                                      ->35
   19    11    >   CONCAT                                           ~19     'checked', !8
         12        FETCH_R                      local               ~20     ~19
         13        ASSIGN                                                   !9, ~20
   20    14        ECHO                                                     !9
   24    15        CONCAT                                           ~22     '%0A%09%3Ctd+align%3D%22center%22+bgcolor%3D%22%23E6E6FA%22%3E%0A%09%09%3Cinput+type%3D%22checkbox%22+id%3D%22', !8
         16        FETCH_DIM_R                                      ~23     !0, 'emp_id'
         17        CONCAT                                           ~24     ~22, ~23
         18        CONCAT                                           ~25     ~24, '%22+name%3D%22Emails%5B%5D%22+value%3D%22'
         19        CONCAT                                           ~26     ~25, !8
         20        CONCAT                                           ~27     ~26, '%3B'
         21        CONCAT                                           ~28     ~27, !1
         22        CONCAT                                           ~29     ~28, '%22+'
         23        IS_EQUAL                                         ~30     !9, 1
         24        CONCAT                                           ~31     ~29, ~30
         25      > JMPZ                                                     ~31, ->28
         26    >   QM_ASSIGN                                        ~32     'checked'
         27      > JMP                                                      ->33
         28    >   CONCAT                                           ~33     '++onclick%3D%22check%28', !8
         29        FETCH_DIM_R                                      ~34     !0, 'emp_id'
         30        CONCAT                                           ~35     ~33, ~34
         31        CONCAT                                           ~36     ~35, '%29%3B%22++%2F%3E%0A%09%3C%2Ftd%3E'
         32        QM_ASSIGN                                        ~32     ~36
         33    >   ECHO                                                     ~32
   17    34        PRE_INC                                                  !8
         35    >   IS_SMALLER_OR_EQUAL                                      !8, 6
         36      > JMPNZ                                                    ~38, ->11
   26    37    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
171 ms | 1399 KiB | 13 Q