3v4l.org

run code in 300+ PHP versions simultaneously
<?php $sourcestring="<img>http://miximoms.dev/static/uploads/n7krkqvkkr/1386778095zkn_playmobil-smooth-criminal.jpg</img>"; preg_match_all('/<img>(.*?)<\/img>/',$sourcestring,$matches); foreach($matches as $deselect){ foreach ($deselect as $display){ echo $display."<br />"; } }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 7, Position 2 = 15
Branch analysis from position: 7
2 jumps found. (Code = 78) Position 1 = 8, Position 2 = 15
Branch analysis from position: 8
2 jumps found. (Code = 77) Position 1 = 9, Position 2 = 13
Branch analysis from position: 9
2 jumps found. (Code = 78) Position 1 = 10, Position 2 = 13
Branch analysis from position: 10
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
Branch analysis from position: 13
1 jumps found. (Code = 42) Position 1 = 7
Branch analysis from position: 7
Branch analysis from position: 13
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 15
filename:       /in/56Lbp
function name:  (null)
number of ops:  17
compiled vars:  !0 = $sourcestring, !1 = $matches, !2 = $deselect, !3 = $display
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%3Cimg%3Ehttp%3A%2F%2Fmiximoms.dev%2Fstatic%2Fuploads%2Fn7krkqvkkr%2F1386778095zkn_playmobil-smooth-criminal.jpg%3C%2Fimg%3E'
    3     1        INIT_FCALL                                               'preg_match_all'
          2        SEND_VAL                                                 '%2F%3Cimg%3E%28.%2A%3F%29%3C%5C%2Fimg%3E%2F'
          3        SEND_VAR                                                 !0
          4        SEND_REF                                                 !1
          5        DO_ICALL                                                 
    5     6      > FE_RESET_R                                       $6      !1, ->15
          7    > > FE_FETCH_R                                               $6, !2, ->15
    6     8    > > FE_RESET_R                                       $7      !2, ->13
          9    > > FE_FETCH_R                                               $7, !3, ->13
    7    10    >   CONCAT                                           ~8      !3, '%3Cbr+%2F%3E'
         11        ECHO                                                     ~8
    6    12      > JMP                                                      ->9
         13    >   FE_FREE                                                  $7
    5    14      > JMP                                                      ->7
         15    >   FE_FREE                                                  $6
    9    16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.28 ms | 1387 KiB | 15 Q