3v4l.org

run code in 300+ PHP versions simultaneously
<? header('Content-type: text/plain'); $homepage = file_get_contents('https://www.banreservas.com/Pages/index.aspx', null,null); // echo ($homepage); // $doc = new DOMDocument(); // @$doc->loadHTML($homepage); // $dom->preserveWhiteSpace = false; $dom = new DOMDocument; @$dom->loadHTML($homepage); $book = $dom->getElementById('ctl00_m_g_71f722e7_0074_4455_89ad_1a476c366562_ctl00_cpUS'); echo $book; var_dump($book) ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/gVjHp
function name:  (null)
number of ops:  26
compiled vars:  !0 = $homepage, !1 = $dom, !2 = $book
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'header'
          1        SEND_VAL                                                 'Content-type%3A+text%2Fplain'
          2        DO_ICALL                                                 
    4     3        INIT_FCALL                                               'file_get_contents'
          4        SEND_VAL                                                 'https%3A%2F%2Fwww.banreservas.com%2FPages%2Findex.aspx'
          5        SEND_VAL                                                 null
          6        SEND_VAL                                                 null
          7        DO_ICALL                                         $4      
          8        ASSIGN                                                   !0, $4
   15     9        NEW                                              $6      'DOMDocument'
         10        DO_FCALL                                      0          
         11        ASSIGN                                                   !1, $6
   16    12        BEGIN_SILENCE                                    ~9      
         13        INIT_METHOD_CALL                                         !1, 'loadHTML'
         14        SEND_VAR_EX                                              !0
         15        DO_FCALL                                      0          
         16        END_SILENCE                                              ~9
   17    17        INIT_METHOD_CALL                                         !1, 'getElementById'
         18        SEND_VAL_EX                                              'ctl00_m_g_71f722e7_0074_4455_89ad_1a476c366562_ctl00_cpUS'
         19        DO_FCALL                                      0  $11     
         20        ASSIGN                                                   !2, $11
   18    21        ECHO                                                     !2
   19    22        INIT_FCALL                                               'var_dump'
         23        SEND_VAR                                                 !2
         24        DO_ICALL                                                 
   21    25      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.91 ms | 940 KiB | 20 Q