3v4l.org

run code in 300+ PHP versions simultaneously
<?php $foo = "<a href='http://demowww.wavebid.com/content/openPdfFile.html?id=7828114'> <img src=\"http://www.wavebid.com/images/icons/pdf-128x128.jpg\" style=\"height: 25px\"/>IPv4_Multicast.pdf</a> <br /> <a href='http://demowww.wavebid.com/content/openPdfFile.html?id=7828115'> <img src=\"http://www.wavebid.com/images/icons/pdf-128x128.jpg\" style=\"height: 25px\"/>IPv6.pdf</a><br />"; preg_match_all("#<a href='(.*)'>|/>(.*?)<#im", $foo, $m); var_dump($m);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Tp7sX
function name:  (null)
number of ops:  10
compiled vars:  !0 = $foo, !1 = $m
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%3Ca+href%3D%27http%3A%2F%2Fdemowww.wavebid.com%2Fcontent%2FopenPdfFile.html%3Fid%3D7828114%27%3E%0A%3Cimg+src%3D%22http%3A%2F%2Fwww.wavebid.com%2Fimages%2Ficons%2Fpdf-128x128.jpg%22+style%3D%22height%3A+25px%22%2F%3EIPv4_Multicast.pdf%3C%2Fa%3E%0A%3Cbr+%2F%3E%0A%3Ca+href%3D%27http%3A%2F%2Fdemowww.wavebid.com%2Fcontent%2FopenPdfFile.html%3Fid%3D7828115%27%3E%0A%3Cimg+src%3D%22http%3A%2F%2Fwww.wavebid.com%2Fimages%2Ficons%2Fpdf-128x128.jpg%22+style%3D%22height%3A+25px%22%2F%3EIPv6.pdf%3C%2Fa%3E%3Cbr+%2F%3E'
    8     1        INIT_FCALL                                               'preg_match_all'
          2        SEND_VAL                                                 '%23%3Ca+href%3D%27%28.%2A%29%27%3E%7C%2F%3E%28.%2A%3F%29%3C%23im'
          3        SEND_VAR                                                 !0
          4        SEND_REF                                                 !1
          5        DO_ICALL                                                 
    9     6        INIT_FCALL                                               'var_dump'
          7        SEND_VAR                                                 !1
          8        DO_ICALL                                                 
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.92 ms | 1385 KiB | 17 Q