3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Récupère les colonnes présents J+ dans la table boiti_evenet_queue_time pour l'affichage include("db.php"); $req_columns = 'SELECT column_name as nom_colonne FROM information_schema.columns WHERE table_name = "boiti_event_queue_time" AND table_schema="ptc_stat"'; $req_columns = $bdd->prepare($req_columns); $req_columns->execute() or die('Erreur : '.$req_columns->errorInfo().''); $req_columns = $req_columns->fetchAll(PDO::FETCH_ASSOC); $length = count($req_columns); for ($i = 1; $i < $length; $i++) { echo '{title:"'.$req_columns[$i][nom_colonne].'",field:"'.$req_columns[$i][nom_colonne].'"},'; } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 47) Position 1 = 9, Position 2 = 15
Branch analysis from position: 9
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 15
1 jumps found. (Code = 42) Position 1 = 35
Branch analysis from position: 35
2 jumps found. (Code = 44) Position 1 = 37, Position 2 = 23
Branch analysis from position: 37
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 23
2 jumps found. (Code = 44) Position 1 = 37, Position 2 = 23
Branch analysis from position: 37
Branch analysis from position: 23
filename:       /in/dAICv
function name:  (null)
number of ops:  38
compiled vars:  !0 = $req_columns, !1 = $bdd, !2 = $length, !3 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INCLUDE_OR_EVAL                                          'db.php', INCLUDE
    4     1        ASSIGN                                                   !0, 'SELECT+column_name+as+nom_colonne+FROM+information_schema.columns+WHERE+table_name+%3D+%22boiti_event_queue_time%22+AND+table_schema%3D%22ptc_stat%22'
    5     2        INIT_METHOD_CALL                                         !1, 'prepare'
          3        SEND_VAR_EX                                              !0
          4        DO_FCALL                                      0  $6      
          5        ASSIGN                                                   !0, $6
    6     6        INIT_METHOD_CALL                                         !0, 'execute'
          7        DO_FCALL                                      0  $8      
          8      > JMPNZ_EX                                         ~9      $8, ->15
          9    >   INIT_METHOD_CALL                                         !0, 'errorInfo'
         10        DO_FCALL                                      0  $10     
         11        CONCAT                                           ~11     'Erreur+%3A+', $10
         12        CONCAT                                           ~12     ~11, ''
         13      > EXIT                                                     ~12
         14*       BOOL                                             ~9      <true>
    7    15    >   INIT_METHOD_CALL                                         !0, 'fetchAll'
         16        SEND_VAL_EX                                              2
         17        DO_FCALL                                      0  $13     
         18        ASSIGN                                                   !0, $13
    9    19        COUNT                                            ~15     !0
         20        ASSIGN                                                   !2, ~15
   11    21        ASSIGN                                                   !3, 1
         22      > JMP                                                      ->35
   12    23    >   FETCH_CONSTANT                                   ~19     'nom_colonne'
         24        FETCH_DIM_R                                      ~18     !0, !3
         25        FETCH_DIM_R                                      ~20     ~18, ~19
         26        CONCAT                                           ~21     '%7Btitle%3A%22', ~20
         27        CONCAT                                           ~22     ~21, '%22%2Cfield%3A%22'
         28        FETCH_CONSTANT                                   ~24     'nom_colonne'
         29        FETCH_DIM_R                                      ~23     !0, !3
         30        FETCH_DIM_R                                      ~25     ~23, ~24
         31        CONCAT                                           ~26     ~22, ~25
         32        CONCAT                                           ~27     ~26, '%22%7D%2C'
         33        ECHO                                                     ~27
   11    34        PRE_INC                                                  !3
         35    >   IS_SMALLER                                               !3, !2
         36      > JMPNZ                                                    ~29, ->23
   16    37    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.01 ms | 1399 KiB | 13 Q