3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Create a DOM object from a string $html = str_get_html('<html><body>Hello!</body></html>'); // Create a DOM object from a URL $html = file_get_html('http://www.google.com/'); // Create a DOM object from a HTML file $html = file_get_html('test.htm');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FvSZN
function name:  (null)
number of ops:  13
compiled vars:  !0 = $html
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL_BY_NAME                                       'str_get_html'
          1        SEND_VAL_EX                                              '%3Chtml%3E%3Cbody%3EHello%21%3C%2Fbody%3E%3C%2Fhtml%3E'
          2        DO_FCALL                                      0  $1      
          3        ASSIGN                                                   !0, $1
    7     4        INIT_FCALL_BY_NAME                                       'file_get_html'
          5        SEND_VAL_EX                                              'http%3A%2F%2Fwww.google.com%2F'
          6        DO_FCALL                                      0  $3      
          7        ASSIGN                                                   !0, $3
   10     8        INIT_FCALL_BY_NAME                                       'file_get_html'
          9        SEND_VAL_EX                                              'test.htm'
         10        DO_FCALL                                      0  $5      
         11        ASSIGN                                                   !0, $5
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
176.93 ms | 1397 KiB | 13 Q