3v4l.org

run code in 300+ PHP versions simultaneously
<?php $authors = array('Johnny', 'Jim', 'Jack'); $data = array(); for ($id=0; $id<10; $id++) { $data[$id]['id'] = $id; $data[$id]['title'] = 'Titel'; $data[$id]['source'] = 'Source'; $data[$id]['year'] = '2013'; $data[$id]['type'] = 'Type'; $data[$id]['authors'] = implode(', ', $authors); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 27
Branch analysis from position: 27
2 jumps found. (Code = 44) Position 1 = 29, Position 2 = 4
Branch analysis from position: 29
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 4
2 jumps found. (Code = 44) Position 1 = 29, Position 2 = 4
Branch analysis from position: 29
Branch analysis from position: 4
filename:       /in/SCNIG
function name:  (null)
number of ops:  30
compiled vars:  !0 = $authors, !1 = $data, !2 = $id
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        ASSIGN                                                   !1, <array>
    6     2        ASSIGN                                                   !2, 0
          3      > JMP                                                      ->27
    8     4    >   FETCH_DIM_W                                      $6      !1, !2
          5        ASSIGN_DIM                                               $6, 'id'
          6        OP_DATA                                                  !2
    9     7        FETCH_DIM_W                                      $8      !1, !2
          8        ASSIGN_DIM                                               $8, 'title'
          9        OP_DATA                                                  'Titel'
   10    10        FETCH_DIM_W                                      $10     !1, !2
         11        ASSIGN_DIM                                               $10, 'source'
         12        OP_DATA                                                  'Source'
   11    13        FETCH_DIM_W                                      $12     !1, !2
         14        ASSIGN_DIM                                               $12, 'year'
         15        OP_DATA                                                  '2013'
   12    16        FETCH_DIM_W                                      $14     !1, !2
         17        ASSIGN_DIM                                               $14, 'type'
         18        OP_DATA                                                  'Type'
   13    19        INIT_FCALL                                               'implode'
         20        SEND_VAL                                                 '%2C+'
         21        SEND_VAR                                                 !0
         22        DO_ICALL                                         $18     
         23        FETCH_DIM_W                                      $16     !1, !2
         24        ASSIGN_DIM                                               $16, 'authors'
         25        OP_DATA                                                  $18
    6    26        PRE_INC                                                  !2
         27    >   IS_SMALLER                                               !2, 10
         28      > JMPNZ                                                    ~20, ->4
   14    29    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.58 ms | 1396 KiB | 15 Q