3v4l.org

run code in 300+ PHP versions simultaneously
<?php function get_contents() { file_get_contents("http://example.com"); var_dump($http_response_header); } get_contents(); var_dump($http_response_header);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/dvP57
function name:  (null)
number of ops:  6
compiled vars:  !0 = $http_response_header
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   INIT_FCALL                                               'get_contents'
          1        DO_FCALL                                      0          
    7     2        INIT_FCALL                                               'var_dump'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                                 
          5      > RETURN                                                   1

Function get_contents:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/dvP57
function name:  get_contents
number of ops:  7
compiled vars:  !0 = $http_response_header
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'file_get_contents'
          1        SEND_VAL                                                 'http%3A%2F%2Fexample.com'
          2        DO_ICALL                                                 
    4     3        INIT_FCALL                                               'var_dump'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                                 
    5     6      > RETURN                                                   null

End of function get_contents

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.83 ms | 1397 KiB | 18 Q