3v4l.org

run code in 500+ PHP versions simultaneously
<?php $str = 'Level 1:Level 2:Level 3:Level 4:Level 5'; echo $str . '<br />'; $levels = array(); $levels = explode( ':', $str ); echo "Level:" . $levels[1]; echo '<pre>' . print_r( $levels , TRUE ) . '</pre>'; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/UWBGG
function name:  (null)
number of ops:  20
compiled vars:  !0 = $str, !1 = $levels
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, 'Level+1%3ALevel+2%3ALevel+3%3ALevel+4%3ALevel+5'
    5     1        CONCAT                                               ~3      !0, '%3Cbr+%2F%3E'
          2        ECHO                                                         ~3
    7     3        ASSIGN                                                       !1, <array>
    9     4        INIT_FCALL                                                   'explode'
          5        SEND_VAL                                                     '%3A'
          6        SEND_VAR                                                     !0
          7        DO_ICALL                                             $5      
          8        ASSIGN                                                       !1, $5
   11     9        FETCH_DIM_R                                          ~7      !1, 1
         10        CONCAT                                               ~8      'Level%3A', ~7
         11        ECHO                                                         ~8
   13    12        INIT_FCALL                                                   'print_r'
         13        SEND_VAR                                                     !1
         14        SEND_VAL                                                     <true>
         15        DO_ICALL                                             $9      
         16        CONCAT                                               ~10     '%3Cpre%3E', $9
         17        CONCAT                                               ~11     ~10, '%3C%2Fpre%3E'
         18        ECHO                                                         ~11
   15    19      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
162.83 ms | 2339 KiB | 15 Q