3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hoofdstuk = 6; echo "<h1>Hoofdstuk $hoofdstuk</h1>"; $leeg = array('leeg'); $drinken = array ('bier', 'cola', 'cassis', 'sinas'); echo 'Drinken[6] = '.(bool)$drinken[6].'<br />'; echo 'Drinken[2] = '.(bool)$drinken[2].'<br />'; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/BGqV5
function name:  (null)
number of ops:  18
compiled vars:  !0 = $hoofdstuk, !1 = $leeg, !2 = $drinken
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 6
    3     1        ROPE_INIT                                     3  ~5      '%3Ch1%3EHoofdstuk+'
          2        ROPE_ADD                                      1  ~5      ~5, !0
          3        ROPE_END                                      2  ~4      ~5, '%3C%2Fh1%3E'
          4        ECHO                                                     ~4
    5     5        ASSIGN                                                   !1, <array>
    6     6        ASSIGN                                                   !2, <array>
    7     7        FETCH_DIM_R                                      ~9      !2, 6
          8        BOOL                                             ~10     ~9
          9        CONCAT                                           ~11     'Drinken%5B6%5D+%3D++', ~10
         10        CONCAT                                           ~12     ~11, '%3Cbr+%2F%3E'
         11        ECHO                                                     ~12
    8    12        FETCH_DIM_R                                      ~13     !2, 2
         13        BOOL                                             ~14     ~13
         14        CONCAT                                           ~15     'Drinken%5B2%5D+%3D+', ~14
         15        CONCAT                                           ~16     ~15, '%3Cbr++%2F%3E'
         16        ECHO                                                     ~16
   10    17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
135.92 ms | 1441 KiB | 13 Q