3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = '<img src="/index.php/tools/packages/bullseye/file_display.php?htmlpage=&amp;fID=300" /><img src="/index.php/tools/packages/bullseye/file_display.php?htmlpage=&amp;fID=300" /><img src="/index.php/tools/packages/bullseye/file_display.php?htmlpage=&amp;fID=300" />'; $file_ids = array(); $html = preg_match_all('~src="/index\.php/tools/packages/bullseye/file_display\.php\?htmlpage=&amp;fID=(\d+)"~', $string, $file_ids); var_dump($file_ids);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Vt747
function name:  (null)
number of ops:  12
compiled vars:  !0 = $string, !1 = $file_ids, !2 = $html
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%3Cimg+src%3D%22%2Findex.php%2Ftools%2Fpackages%2Fbullseye%2Ffile_display.php%3Fhtmlpage%3D%26amp%3BfID%3D300%22+%2F%3E%3Cimg+src%3D%22%2Findex.php%2Ftools%2Fpackages%2Fbullseye%2Ffile_display.php%3Fhtmlpage%3D%26amp%3BfID%3D300%22+%2F%3E%3Cimg+src%3D%22%2Findex.php%2Ftools%2Fpackages%2Fbullseye%2Ffile_display.php%3Fhtmlpage%3D%26amp%3BfID%3D300%22+%2F%3E'
    4     1        ASSIGN                                                   !1, <array>
    5     2        INIT_FCALL                                               'preg_match_all'
          3        SEND_VAL                                                 '%7Esrc%3D%22%2Findex%5C.php%2Ftools%2Fpackages%2Fbullseye%2Ffile_display%5C.php%5C%3Fhtmlpage%3D%26amp%3BfID%3D%28%5Cd%2B%29%22%7E'
          4        SEND_VAR                                                 !0
          5        SEND_REF                                                 !1
          6        DO_ICALL                                         $5      
          7        ASSIGN                                                   !2, $5
    7     8        INIT_FCALL                                               'var_dump'
          9        SEND_VAR                                                 !1
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.38 ms | 1394 KiB | 17 Q