3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.48 ms | 1394 KiB | 15 Q