3v4l.org

run code in 300+ PHP versions simultaneously
<?php $page = file_get_contents('http://fanpagelist.com/category/top_users/view/list/sort/fans/page1'); preg_match_all('/(?:\/like_box\.php\?id=(\d*))|(?:graph\.facebook\.com\/(\d*)\/picture)/', $page, $result, PREG_SET_ORDER); foreach ($result as $row) { echo "<p><b>$row[1]</b> $row[2]</p>\n"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 11, Position 2 = 21
Branch analysis from position: 11
2 jumps found. (Code = 78) Position 1 = 12, Position 2 = 21
Branch analysis from position: 12
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
Branch analysis from position: 21
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 21
filename:       /in/e67Na
function name:  (null)
number of ops:  23
compiled vars:  !0 = $page, !1 = $result, !2 = $row
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'file_get_contents'
          1        SEND_VAL                                                 'http%3A%2F%2Ffanpagelist.com%2Fcategory%2Ftop_users%2Fview%2Flist%2Fsort%2Ffans%2Fpage1'
          2        DO_ICALL                                         $3      
          3        ASSIGN                                                   !0, $3
    3     4        INIT_FCALL                                               'preg_match_all'
          5        SEND_VAL                                                 '%2F%28%3F%3A%5C%2Flike_box%5C.php%5C%3Fid%3D%28%5Cd%2A%29%29%7C%28%3F%3Agraph%5C.facebook%5C.com%5C%2F%28%5Cd%2A%29%5C%2Fpicture%29%2F'
          6        SEND_VAR                                                 !0
          7        SEND_REF                                                 !1
          8        SEND_VAL                                                 2
          9        DO_ICALL                                                 
    4    10      > FE_RESET_R                                       $6      !1, ->21
         11    > > FE_FETCH_R                                               $6, !2, ->21
    5    12    >   ROPE_INIT                                     5  ~10     '%3Cp%3E%3Cb%3E'
         13        FETCH_DIM_R                                      ~7      !2, 1
         14        ROPE_ADD                                      1  ~10     ~10, ~7
         15        ROPE_ADD                                      2  ~10     ~10, '%3C%2Fb%3E+'
         16        FETCH_DIM_R                                      ~8      !2, 2
         17        ROPE_ADD                                      3  ~10     ~10, ~8
         18        ROPE_END                                      4  ~9      ~10, '%3C%2Fp%3E%0A'
         19        ECHO                                                     ~9
    4    20      > JMP                                                      ->11
         21    >   FE_FREE                                                  $6
    6    22      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.84 ms | 1395 KiB | 17 Q