3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ytlinks = $db_con->prepare('SELECT * FROM PJW_helpful_links WHERE parent=? AND type=? ORDER BY id'); $ytlinks->execute(array($post_id, "YT")); $ytlinks->fetch(PDO::FETCH_ASSOC); /* and then */ if ($ytlinks->rowCount() > 0) { while ($results = $ytlinks->fetch(PDO::FETCH_ASSOC)) { if ($results["description"] != "") { include 'inc/yt-d.phtml'; } else { include 'inc/yt.phtml'; } } }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 16, Position 2 = 28
Branch analysis from position: 16
1 jumps found. (Code = 42) Position 1 = 23
Branch analysis from position: 23
2 jumps found. (Code = 44) Position 1 = 28, Position 2 = 17
Branch analysis from position: 28
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 17
2 jumps found. (Code = 43) Position 1 = 20, Position 2 = 22
Branch analysis from position: 20
1 jumps found. (Code = 42) Position 1 = 23
Branch analysis from position: 23
Branch analysis from position: 22
2 jumps found. (Code = 44) Position 1 = 28, Position 2 = 17
Branch analysis from position: 28
Branch analysis from position: 17
Branch analysis from position: 28
filename:       /in/7hqFr
function name:  (null)
number of ops:  29
compiled vars:  !0 = $ytlinks, !1 = $db_con, !2 = $post_id, !3 = $results
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_METHOD_CALL                                         !1, 'prepare'
          1        SEND_VAL_EX                                              'SELECT+%2A+FROM+PJW_helpful_links+WHERE+parent%3D%3F+AND+type%3D%3F+ORDER+BY+id'
          2        DO_FCALL                                      0  $4      
          3        ASSIGN                                                   !0, $4
    4     4        INIT_METHOD_CALL                                         !0, 'execute'
          5        INIT_ARRAY                                       ~6      !2
          6        ADD_ARRAY_ELEMENT                                ~6      'YT'
          7        SEND_VAL_EX                                              ~6
          8        DO_FCALL                                      0          
    5     9        INIT_METHOD_CALL                                         !0, 'fetch'
         10        SEND_VAL_EX                                              2
         11        DO_FCALL                                      0          
    9    12        INIT_METHOD_CALL                                         !0, 'rowCount'
         13        DO_FCALL                                      0  $9      
         14        IS_SMALLER                                               0, $9
         15      > JMPZ                                                     ~10, ->28
   10    16    > > JMP                                                      ->23
   11    17    >   FETCH_DIM_R                                      ~11     !3, 'description'
         18        IS_NOT_EQUAL                                             ~11, ''
         19      > JMPZ                                                     ~12, ->22
   12    20    >   INCLUDE_OR_EVAL                                          'inc%2Fyt-d.phtml', INCLUDE
         21      > JMP                                                      ->23
   14    22    >   INCLUDE_OR_EVAL                                          'inc%2Fyt.phtml', INCLUDE
   10    23    >   INIT_METHOD_CALL                                         !0, 'fetch'
         24        SEND_VAL_EX                                              2
         25        DO_FCALL                                      0  $15     
         26        ASSIGN                                           ~16     !3, $15
         27      > JMPNZ                                                    ~16, ->17
   17    28    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.8 ms | 1395 KiB | 13 Q