3v4l.org

run code in 300+ PHP versions simultaneously
<?php $sel_subject['visible']=1;?> <input type="radio" name="visible" value="1" checked="<?=$sel_subject['visible'] == 1?'checked':''?>">
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 8
Branch analysis from position: 6
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/R5Lkh
function name:  (null)
number of ops:  12
compiled vars:  !0 = $sel_subject
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN_DIM                                               !0, 'visible'
          1        OP_DATA                                                  1
    3     2        ECHO                                                     '%3Cinput+type%3D%22radio%22+name%3D%22visible%22+value%3D%221%22+checked%3D%22'
          3        FETCH_DIM_R                                      ~2      !0, 'visible'
          4        IS_EQUAL                                                 ~2, 1
          5      > JMPZ                                                     ~3, ->8
          6    >   QM_ASSIGN                                        ~4      'checked'
          7      > JMP                                                      ->9
          8    >   QM_ASSIGN                                        ~4      ''
          9    >   ECHO                                                     ~4
         10        ECHO                                                     '%22%3E'
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.01 ms | 1393 KiB | 13 Q