3v4l.org

run code in 300+ PHP versions simultaneously
<?php $get = $_GET['type']; $array = array('AA', 'BB', 'CC'); if(in_array($get, $array)) { $Qdaily_entriesD = mysql_query("SELECT * FROM daily_entries WHERE account_type=$get ") OR DIE ("error"); while ($showRowGeneral = mysql_fetch_assoc($Qdaily_entriesD)){ ?> <tr> <td><?echo $showRowGeneral['account_type'];?></td> <td><?echo $showRowGeneral['riyal'];?></td> <td><?echo $showRowGeneral['dollars'];?></td> </tr> <? } } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 35
Branch analysis from position: 9
2 jumps found. (Code = 47) Position 1 = 17, Position 2 = 19
Branch analysis from position: 17
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 19
1 jumps found. (Code = 42) Position 1 = 30
Branch analysis from position: 30
2 jumps found. (Code = 44) Position 1 = 35, Position 2 = 20
Branch analysis from position: 35
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 20
2 jumps found. (Code = 44) Position 1 = 35, Position 2 = 20
Branch analysis from position: 35
Branch analysis from position: 20
Branch analysis from position: 35
filename:       /in/vmjdk
function name:  (null)
number of ops:  36
compiled vars:  !0 = $get, !1 = $array, !2 = $Qdaily_entriesD, !3 = $showRowGeneral
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   FETCH_R                      global              ~4      '_GET'
          1        FETCH_DIM_R                                      ~5      ~4, 'type'
          2        ASSIGN                                                   !0, ~5
    4     3        ASSIGN                                                   !1, <array>
    5     4        INIT_FCALL                                               'in_array'
          5        SEND_VAR                                                 !0
          6        SEND_VAR                                                 !1
          7        DO_ICALL                                         $8      
          8      > JMPZ                                                     $8, ->35
    6     9    >   INIT_FCALL_BY_NAME                                       'mysql_query'
         10        ROPE_INIT                                     3  ~10     'SELECT+%2A+FROM+daily_entries+WHERE+account_type%3D'
         11        ROPE_ADD                                      1  ~10     ~10, !0
         12        ROPE_END                                      2  ~9      ~10, '+'
         13        SEND_VAL_EX                                              ~9
         14        DO_FCALL                                      0  $12     
         15        ASSIGN                                           ~13     !2, $12
         16      > JMPNZ_EX                                         ~13     ~13, ->19
         17    > > EXIT                                                     'error'
         18*       BOOL                                             ~13     <true>
    7    19    > > JMP                                                      ->30
    9    20    >   ECHO                                                     '%09++++%3Ctr%3E%0A%09++++++%3Ctd%3E'
   10    21        FETCH_DIM_R                                      ~14     !3, 'account_type'
         22        ECHO                                                     ~14
         23        ECHO                                                     '%3C%2Ftd%3E%0A%09++++++%3Ctd%3E'
   11    24        FETCH_DIM_R                                      ~15     !3, 'riyal'
         25        ECHO                                                     ~15
         26        ECHO                                                     '%3C%2Ftd%3E%0A%09++++++%3Ctd%3E'
   12    27        FETCH_DIM_R                                      ~16     !3, 'dollars'
         28        ECHO                                                     ~16
         29        ECHO                                                     '%3C%2Ftd%3E%0A%09++++%3C%2Ftr%3E%0A%09++++'
    7    30    >   INIT_FCALL_BY_NAME                                       'mysql_fetch_assoc'
         31        SEND_VAR_EX                                              !2
         32        DO_FCALL                                      0  $17     
         33        ASSIGN                                           ~18     !3, $17
         34      > JMPNZ                                                    ~18, ->20
   18    35    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.12 ms | 1392 KiB | 15 Q