3v4l.org

run code in 300+ PHP versions simultaneously
<?php $file = file_get_contents('http://www.delfi.lt/'); //var_dump($file); $obj = new DOMDocument('UTF-8'); $obj->loadHTML($file); var_dump($obj);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/d8ecp
function name:  (null)
number of ops:  15
compiled vars:  !0 = $file, !1 = $obj
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'file_get_contents'
          1        SEND_VAL                                                 'http%3A%2F%2Fwww.delfi.lt%2F'
          2        DO_ICALL                                         $2      
          3        ASSIGN                                                   !0, $2
    7     4        NEW                                              $4      'DOMDocument'
          5        SEND_VAL_EX                                              'UTF-8'
          6        DO_FCALL                                      0          
          7        ASSIGN                                                   !1, $4
    9     8        INIT_METHOD_CALL                                         !1, 'loadHTML'
          9        SEND_VAR_EX                                              !0
         10        DO_FCALL                                      0          
   11    11        INIT_FCALL                                               'var_dump'
         12        SEND_VAR                                                 !1
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
192.31 ms | 1459 KiB | 15 Q