3v4l.org

run code in 300+ PHP versions simultaneously
<?php preg_match_all('#<a.*?href="([^<>]*?)\?img_id=(\d+)"\s*>((?<!href).)*<img.*?src="(.*?)"#i',$html,$outA);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/6Im22
function name:  (null)
number of ops:  6
compiled vars:  !0 = $html, !1 = $outA
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'preg_match_all'
          1        SEND_VAL                                                 '%23%3Ca.%2A%3Fhref%3D%22%28%5B%5E%3C%3E%5D%2A%3F%29%5C%3Fimg_id%3D%28%5Cd%2B%29%22%5Cs%2A%3E%28%28%3F%3C%21href%29.%29%2A%3Cimg.%2A%3Fsrc%3D%22%28.%2A%3F%29%22%23i'
          2        SEND_VAR                                                 !0
          3        SEND_REF                                                 !1
          4        DO_ICALL                                                 
          5      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.81 ms | 1394 KiB | 15 Q