3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?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 />"; $dom = new DOMDocument; $dom->loadHTML($foo); $links = $dom->getElementsByTagName('a'); var_dump($$links);
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = -2
filename:       /in/4OksA
function name:  (null)
number of ops:  16
compiled vars:  !0 = $foo, !1 = $dom, !2 = $links
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   6     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        NEW                                              $4      :-5
         2        DO_FCALL                                      0          
         3        ASSIGN                                                   !1, $4
   9     4        INIT_METHOD_CALL                                         !1, 'loadHTML'
         5        SEND_VAR_EX                                              !0
         6        DO_FCALL                                      0          
  10     7        INIT_METHOD_CALL                                         !1, 'getElementsByTagName'
         8        SEND_VAL_EX                                              'a'
         9        DO_FCALL                                      0  $8      
        10        ASSIGN                                                   !2, $8
  11    11        INIT_FCALL                                               'var_dump'
        12        FETCH_R                      local               $10     !2
        13        SEND_VAR                                                 $10
        14        DO_ICALL                                                 
        15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.3.0