3v4l.org

run code in 500+ PHP versions simultaneously
<?php ob_start(); header('hola: xxx'); var_dump( headers_list(), headers_sent(), http_response_code(), setcookie('hola') );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/XcuBg
function name:  (null)
number of ops:  21
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                                   'ob_start'
          1        DO_ICALL                                                     
    5     2        INIT_FCALL                                                   'header'
          3        SEND_VAL                                                     'hola%3A+xxx'
          4        DO_ICALL                                                     
    7     5        INIT_FCALL                                                   'var_dump'
    9     6        INIT_FCALL                                                   'headers_list'
          7        DO_ICALL                                             $2      
          8        SEND_VAR                                                     $2
   10     9        INIT_FCALL                                                   'headers_sent'
         10        DO_ICALL                                             $3      
         11        SEND_VAR                                                     $3
   11    12        INIT_FCALL                                                   'http_response_code'
         13        DO_ICALL                                             $4      
         14        SEND_VAR                                                     $4
   12    15        INIT_FCALL                                                   'setcookie'
         16        SEND_VAL                                                     'hola'
         17        DO_ICALL                                             $5      
         18        SEND_VAR                                                     $5
    7    19        DO_ICALL                                                     
   13    20      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
129.97 ms | 484 KiB | 14 Q