3v4l.org

run code in 500+ PHP versions simultaneously
<?php $s = 'Sections: B3; C2; D4'; $s = str_replace('Sections: ', '', $s); $arr = explode("; ", $s); Var_dump($arr);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/PcrNK
function name:  (null)
number of ops:  13
compiled vars:  !0 = $s, !1 = $arr
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, 'Sections%3A+B3%3B+C2%3B+D4'
    5     1        FRAMELESS_ICALL_3                str_replace         ~3      'Sections%3A+', ''
          2        OP_DATA                                                      !0
          3        ASSIGN                                                       !0, ~3
    6     4        INIT_FCALL                                                   'explode'
          5        SEND_VAL                                                     '%3B+'
          6        SEND_VAR                                                     !0
          7        DO_ICALL                                             $5      
          8        ASSIGN                                                       !1, $5
    8     9        INIT_FCALL                                                   'var_dump'
         10        SEND_VAR                                                     !1
         11        DO_ICALL                                                     
         12      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
193.51 ms | 2254 KiB | 15 Q