3v4l.org

run code in 300+ PHP versions simultaneously
<?php $dbhandle = new SQLiteDatabase('sqlitedb'); $result = $dbhandle->arrayQuery('SELECT name, email FROM users LIMIT 25', SQLITE_ASSOC); foreach ($result as $entry) { echo 'Name: ' . $entry['name'] . ' E-mail: ' . $entry['email']; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 11, Position 2 = 19
Branch analysis from position: 11
2 jumps found. (Code = 78) Position 1 = 12, Position 2 = 19
Branch analysis from position: 12
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
Branch analysis from position: 19
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 19
filename:       /in/4b4VV
function name:  (null)
number of ops:  21
compiled vars:  !0 = $dbhandle, !1 = $result, !2 = $entry
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   NEW                                              $3      'SQLiteDatabase'
          1        SEND_VAL_EX                                              'sqlitedb'
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !0, $3
    3     4        INIT_METHOD_CALL                                         !0, 'arrayQuery'
          5        SEND_VAL_EX                                              'SELECT+name%2C+email+FROM+users+LIMIT+25'
          6        FETCH_CONSTANT                                   ~6      'SQLITE_ASSOC'
          7        SEND_VAL_EX                                              ~6
          8        DO_FCALL                                      0  $7      
          9        ASSIGN                                                   !1, $7
    4    10      > FE_RESET_R                                       $9      !1, ->19
         11    > > FE_FETCH_R                                               $9, !2, ->19
    5    12    >   FETCH_DIM_R                                      ~10     !2, 'name'
         13        CONCAT                                           ~11     'Name%3A+', ~10
         14        CONCAT                                           ~12     ~11, '++E-mail%3A+'
         15        FETCH_DIM_R                                      ~13     !2, 'email'
         16        CONCAT                                           ~14     ~12, ~13
         17        ECHO                                                     ~14
    4    18      > JMP                                                      ->11
         19    >   FE_FREE                                                  $9
    6    20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.59 ms | 1394 KiB | 13 Q