3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo readfile("http://www.xhaus.com/headers"); //needs "Allow_url_include" enabled //OR echo include("http://www.xhaus.com/headers"); //needs "Allow_url_include" enabled //OR echo file_get_contents("http://www.xhaus.com/headers"); //OR echo stream_get_contents(fopen('http://www.xhaus.com/headers', "rb")); //you may use "r" instead of "rb" //needs "Allow_url_fopen" enabled ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/pFLQh
function name:  (null)
number of ops:  19
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'readfile'
          1        SEND_VAL                                                 'http%3A%2F%2Fwww.xhaus.com%2Fheaders'
          2        DO_ICALL                                         $0      
          3        ECHO                                                     $0
    4     4        INCLUDE_OR_EVAL                                  $1      'http%3A%2F%2Fwww.xhaus.com%2Fheaders', INCLUDE
          5        ECHO                                                     $1
    6     6        INIT_FCALL                                               'file_get_contents'
          7        SEND_VAL                                                 'http%3A%2F%2Fwww.xhaus.com%2Fheaders'
          8        DO_ICALL                                         $2      
          9        ECHO                                                     $2
    8    10        INIT_FCALL                                               'stream_get_contents'
         11        INIT_FCALL                                               'fopen'
         12        SEND_VAL                                                 'http%3A%2F%2Fwww.xhaus.com%2Fheaders'
         13        SEND_VAL                                                 'rb'
         14        DO_ICALL                                         $3      
         15        SEND_VAR                                                 $3
         16        DO_ICALL                                         $4      
         17        ECHO                                                     $4
    9    18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.03 ms | 1399 KiB | 21 Q