3v4l.org

run code in 300+ PHP versions simultaneously
<?php $men['display']=array( "edit" =>"'1'", "description" =>"2", "phone" =>"3", "mail" =>"4" ); $disArray = json_encode($men['display']); ?> <select id="selectBoxHere" onChange="loadInnerHTML('<?php echo $disArray ?>')";> <select id="selectBoxHere" onChange="loadInnerHTML(<?php echo $disArray ?>)";>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/toG4p
function name:  (null)
number of ops:  13
compiled vars:  !0 = $men, !1 = $disArray
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN_DIM                                               !0, 'display'
    3     1        OP_DATA                                                  <array>
    9     2        INIT_FCALL                                               'json_encode'
          3        FETCH_DIM_R                                      ~3      !0, 'display'
          4        SEND_VAL                                                 ~3
          5        DO_ICALL                                         $4      
          6        ASSIGN                                                   !1, $4
   12     7        ECHO                                                     '%0A%3Cselect+id%3D%22selectBoxHere%22+onChange%3D%22loadInnerHTML%28%27'
   13     8        ECHO                                                     !1
          9        ECHO                                                     '%27%29%22%3B%3E%0A%3Cselect+id%3D%22selectBoxHere%22+onChange%3D%22loadInnerHTML%28'
   14    10        ECHO                                                     !1
         11        ECHO                                                     '%29%22%3B%3E'
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.09 ms | 1394 KiB | 15 Q