3v4l.org

run code in 300+ PHP versions simultaneously
<?php header('Set-Cookie: Bar'); header('Set-Cookie: Baz'); var_dump(headers_list());
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/EqAAf
function name:  (null)
number of ops:  12
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'header'
          1        SEND_VAL                                                 'Set-Cookie%3A+Bar'
          2        DO_ICALL                                                 
    4     3        INIT_FCALL                                               'header'
          4        SEND_VAL                                                 'Set-Cookie%3A+Baz'
          5        DO_ICALL                                                 
    6     6        INIT_FCALL                                               'var_dump'
          7        INIT_FCALL                                               'headers_list'
          8        DO_ICALL                                         $2      
          9        SEND_VAR                                                 $2
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.08 ms | 1394 KiB | 19 Q