3v4l.org

run code in 300+ PHP versions simultaneously
<?php //Use simple html dom include('simple_html_dom.php'); // Create DOM from URL or file $html = file_get_html('http://www.hltv.org/'); //Grab hot matches $ret = $html->find('div[class=frontpagelink shorten]'); // output it echo $ret->save();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/i47D7
function name:  (null)
number of ops:  13
compiled vars:  !0 = $html, !1 = $ret
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INCLUDE_OR_EVAL                                          'simple_html_dom.php', INCLUDE
    6     1        INIT_FCALL_BY_NAME                                       'file_get_html'
          2        SEND_VAL_EX                                              'http%3A%2F%2Fwww.hltv.org%2F'
          3        DO_FCALL                                      0  $3      
          4        ASSIGN                                                   !0, $3
    9     5        INIT_METHOD_CALL                                         !0, 'find'
          6        SEND_VAL_EX                                              'div%5Bclass%3Dfrontpagelink+shorten%5D'
          7        DO_FCALL                                      0  $5      
          8        ASSIGN                                                   !1, $5
   12     9        INIT_METHOD_CALL                                         !1, 'save'
         10        DO_FCALL                                      0  $7      
         11        ECHO                                                     $7
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.96 ms | 1006 KiB | 13 Q