3v4l.org

run code in 300+ PHP versions simultaneously
<?php //Use simple html dom include('simple_html_dom.php'); $temp = 'https://hockey.fantasysports.yahoo.com/hockey/63480/players?status=ALL&pos=C&cut_type=33&stat1=S_S_2014&myteam=0&sort=OR&sdir=1&count=0'; $context = stream_context_create(array('http' => array('header' => 'User-Agent: Mozilla compatible'))); $response = file_get_contents($temp, false, $context); $html = str_get_html($response); echo $html;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/SKdoh
function name:  (null)
number of ops:  18
compiled vars:  !0 = $temp, !1 = $context, !2 = $response, !3 = $html
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INCLUDE_OR_EVAL                                          'simple_html_dom.php', INCLUDE
    5     1        ASSIGN                                                   !0, 'https%3A%2F%2Fhockey.fantasysports.yahoo.com%2Fhockey%2F63480%2Fplayers%3Fstatus%3DALL%26pos%3DC%26cut_type%3D33%26stat1%3DS_S_2014%26myteam%3D0%26sort%3DOR%26sdir%3D1%26count%3D0'
    6     2        INIT_FCALL                                               'stream_context_create'
          3        SEND_VAL                                                 <array>
          4        DO_ICALL                                         $6      
          5        ASSIGN                                                   !1, $6
    7     6        INIT_FCALL                                               'file_get_contents'
          7        SEND_VAR                                                 !0
          8        SEND_VAL                                                 <false>
          9        SEND_VAR                                                 !1
         10        DO_ICALL                                         $8      
         11        ASSIGN                                                   !2, $8
    8    12        INIT_FCALL_BY_NAME                                       'str_get_html'
         13        SEND_VAR_EX                                              !2
         14        DO_FCALL                                      0  $10     
         15        ASSIGN                                                   !3, $10
    9    16        ECHO                                                     !3
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.53 ms | 1395 KiB | 17 Q