3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = 'a,b,c(a,b,c),d(a,b(a,b)),e'; $temp = preg_split('/(\w),/', $str, -1, PREG_SPLIT_DELIM_CAPTURE); foreach($temp as $tok){ }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 9, Position 2 = 11
Branch analysis from position: 9
2 jumps found. (Code = 78) Position 1 = 10, Position 2 = 11
Branch analysis from position: 10
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
filename:       /in/FFWej
function name:  (null)
number of ops:  13
compiled vars:  !0 = $str, !1 = $temp, !2 = $tok
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'a%2Cb%2Cc%28a%2Cb%2Cc%29%2Cd%28a%2Cb%28a%2Cb%29%29%2Ce'
    3     1        INIT_FCALL                                               'preg_split'
          2        SEND_VAL                                                 '%2F%28%5Cw%29%2C%2F'
          3        SEND_VAR                                                 !0
          4        SEND_VAL                                                 -1
          5        SEND_VAL                                                 2
          6        DO_ICALL                                         $4      
          7        ASSIGN                                                   !1, $4
    4     8      > FE_RESET_R                                       $6      !1, ->11
          9    > > FE_FETCH_R                                               $6, !2, ->11
         10    > > JMP                                                      ->9
         11    >   FE_FREE                                                  $6
    6    12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.17 ms | 1394 KiB | 15 Q