3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = 'abcefghijklmnopqrstuvwxyz0123456789'; // try to match all characters not within out pattern preg_match_all("/[^b]/", $string, $matches); // loop through the matches with foreach foreach($matches[0] as $value) { echo $value; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 8, Position 2 = 11
Branch analysis from position: 8
2 jumps found. (Code = 78) Position 1 = 9, Position 2 = 11
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 8
Branch analysis from position: 8
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
filename:       /in/tDirq
function name:  (null)
number of ops:  13
compiled vars:  !0 = $string, !1 = $matches, !2 = $value
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'abcefghijklmnopqrstuvwxyz0123456789'
    6     1        INIT_FCALL                                               'preg_match_all'
          2        SEND_VAL                                                 '%2F%5B%5Eb%5D%2F'
          3        SEND_VAR                                                 !0
          4        SEND_REF                                                 !1
          5        DO_ICALL                                                 
    9     6        FETCH_DIM_R                                      ~5      !1, 0
          7      > FE_RESET_R                                       $6      ~5, ->11
          8    > > FE_FETCH_R                                               $6, !2, ->11
   11     9    >   ECHO                                                     !2
    9    10      > JMP                                                      ->8
         11    >   FE_FREE                                                  $6
   12    12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.26 ms | 1386 KiB | 15 Q