3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.26 ms | 1394 KiB | 21 Q