3v4l.org

run code in 300+ PHP versions simultaneously
<?php stream_context_set_default( array( 'http' => array( 'method' => 'HEAD' ) ) ); $headers = get_headers('http://google.com'); var_dump($headers);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/bMMra
function name:  (null)
number of ops:  11
compiled vars:  !0 = $headers
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'stream_context_set_default'
    6     1        SEND_VAL                                                 <array>
          2        DO_ICALL                                                 
   10     3        INIT_FCALL                                               'get_headers'
          4        SEND_VAL                                                 'http%3A%2F%2Fgoogle.com'
          5        DO_ICALL                                         $2      
          6        ASSIGN                                                   !0, $2
   11     7        INIT_FCALL                                               'var_dump'
          8        SEND_VAR                                                 !0
          9        DO_ICALL                                                 
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.19 ms | 1394 KiB | 19 Q