3v4l.org

run code in 300+ PHP versions simultaneously
<?php $con = mysql_connect("localhost","root","0203199318"); mysql_select_db("kimchipop_data",$con); $sql = "SELECT * FROM featured_posts"; $result = mysql_query($sql, $con); while ($record = mysql_fetch_array($result)){ echo $record['title'] . " " . $record['type'] . " " . $record['caption']; echo "<br></br>"; } ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 26
Branch analysis from position: 26
2 jumps found. (Code = 44) Position 1 = 31, Position 2 = 17
Branch analysis from position: 31
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 17
2 jumps found. (Code = 44) Position 1 = 31, Position 2 = 17
Branch analysis from position: 31
Branch analysis from position: 17
filename:       /in/JbLWC
function name:  (null)
number of ops:  32
compiled vars:  !0 = $con, !1 = $sql, !2 = $result, !3 = $record
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL_BY_NAME                                       'mysql_connect'
          1        SEND_VAL_EX                                              'localhost'
          2        SEND_VAL_EX                                              'root'
          3        SEND_VAL_EX                                              '0203199318'
          4        DO_FCALL                                      0  $4      
          5        ASSIGN                                                   !0, $4
    6     6        INIT_FCALL_BY_NAME                                       'mysql_select_db'
          7        SEND_VAL_EX                                              'kimchipop_data'
          8        SEND_VAR_EX                                              !0
          9        DO_FCALL                                      0          
    8    10        ASSIGN                                                   !1, 'SELECT+%2A+FROM+featured_posts'
   10    11        INIT_FCALL_BY_NAME                                       'mysql_query'
         12        SEND_VAR_EX                                              !1
         13        SEND_VAR_EX                                              !0
         14        DO_FCALL                                      0  $8      
         15        ASSIGN                                                   !2, $8
   12    16      > JMP                                                      ->26
   13    17    >   FETCH_DIM_R                                      ~10     !3, 'title'
         18        CONCAT                                           ~11     ~10, '+'
         19        FETCH_DIM_R                                      ~12     !3, 'type'
         20        CONCAT                                           ~13     ~11, ~12
         21        CONCAT                                           ~14     ~13, '+'
         22        FETCH_DIM_R                                      ~15     !3, 'caption'
         23        CONCAT                                           ~16     ~14, ~15
         24        ECHO                                                     ~16
   14    25        ECHO                                                     '%3Cbr%3E%3C%2Fbr%3E'
   12    26    >   INIT_FCALL_BY_NAME                                       'mysql_fetch_array'
         27        SEND_VAR_EX                                              !2
         28        DO_FCALL                                      0  $17     
         29        ASSIGN                                           ~18     !3, $17
         30      > JMPNZ                                                    ~18, ->17
   16    31    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.72 ms | 1399 KiB | 13 Q