3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump($http_response_headers); file_get_contents('http://www.example.com/'); var_dump($http_response_headers); file_get_contents('htp://www.example.com'); var_dump($http_response_headers);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/VnhSp
function name:  (null)
number of ops:  16
compiled vars:  !0 = $http_response_headers
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'var_dump'
          1        SEND_VAR                                                 !0
          2        DO_ICALL                                                 
    3     3        INIT_FCALL                                               'file_get_contents'
          4        SEND_VAL                                                 'http%3A%2F%2Fwww.example.com%2F'
          5        DO_ICALL                                                 
    4     6        INIT_FCALL                                               'var_dump'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                                 
    6     9        INIT_FCALL                                               'file_get_contents'
         10        SEND_VAL                                                 'htp%3A%2F%2Fwww.example.com'
         11        DO_ICALL                                                 
    7    12        INIT_FCALL                                               'var_dump'
         13        SEND_VAR                                                 !0
         14        DO_ICALL                                                 
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.35 ms | 1394 KiB | 17 Q