3v4l.org

run code in 300+ PHP versions simultaneously
<?php $course_list = array( 1 => array('AMUSE', 'Wortel tartaar', 32, 1), 2 => array('hoofdgerecht', 'Voeg de rest van de ingrediƫnten toe en laat zo lang als mogelijk tegen de kook aan trekken', 51, -1), 3 => array('VOORGERECHT', 'Krokante gamba\'s met Aziatisch aangemaakte groentesalade en een oosterse sesam vinaigrette', 61, 2), 4 => array('TUSSENGERECHT', 'Gemarineerde zalm, boemboe Bali, wortel en gember', 80, 3), 5 => array('HOOFDGERECHT', 'Kiprouleau met ras el hanout-roomsaus', 109, 4), 6 => array('NAGERECHT', 'bramencake met munt en ijs van zoute amandelen', 126, 5) ); print_r($course_list); foreach($course_list as $j => $lcourse) { print "$j " . $course_list[6][3] . "\n"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 5, Position 2 = 15
Branch analysis from position: 5
2 jumps found. (Code = 78) Position 1 = 6, Position 2 = 15
Branch analysis from position: 6
1 jumps found. (Code = 42) Position 1 = 5
Branch analysis from position: 5
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 15
filename:       /in/LqTSf
function name:  (null)
number of ops:  17
compiled vars:  !0 = $course_list, !1 = $lcourse, !2 = $j
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   12     1        INIT_FCALL                                               'print_r'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                                 
   13     4      > FE_RESET_R                                       $5      !0, ->15
          5    > > FE_FETCH_R                                       ~6      $5, !1, ->15
          6    >   ASSIGN                                                   !2, ~6
   15     7        NOP                                                      
          8        FAST_CONCAT                                      ~8      !2, '+'
          9        FETCH_DIM_R                                      ~9      !0, 6
         10        FETCH_DIM_R                                      ~10     ~9, 3
         11        CONCAT                                           ~11     ~8, ~10
         12        CONCAT                                           ~12     ~11, '%0A'
         13        ECHO                                                     ~12
   13    14      > JMP                                                      ->5
         15    >   FE_FREE                                                  $5
   16    16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
137.35 ms | 1444 KiB | 14 Q