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); print_r($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 = 10, Position 2 = 18
Branch analysis from position: 10
2 jumps found. (Code = 78) Position 1 = 11, Position 2 = 18
Branch analysis from position: 11
2 jumps found. (Code = 77) Position 1 = 12, Position 2 = 16
Branch analysis from position: 12
2 jumps found. (Code = 78) Position 1 = 13, Position 2 = 16
Branch analysis from position: 13
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
Branch analysis from position: 16
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
Branch analysis from position: 16
Branch analysis from position: 18
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 18
filename:       /in/CC0mo
function name:  (null)
number of ops:  20
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        INIT_FCALL                                               'print_r'
          7        SEND_VAR                                                 !1
          8        DO_ICALL                                                 
    6     9      > FE_RESET_R                                       $7      !1, ->18
         10    > > FE_FETCH_R                                               $7, !2, ->18
    7    11    > > FE_RESET_R                                       $8      !2, ->16
         12    > > FE_FETCH_R                                               $8, !3, ->16
    8    13    >   CONCAT                                           ~9      !3, '%3Cbr+%2F%3E'
         14        ECHO                                                     ~9
    7    15      > JMP                                                      ->12
         16    >   FE_FREE                                                  $8
    6    17      > JMP                                                      ->10
         18    >   FE_FREE                                                  $7
   10    19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.91 ms | 1395 KiB | 17 Q