3v4l.org

run code in 300+ PHP versions simultaneously
<?php ob_start(); var_dump(ini_get('session.cookie_secure'), ini_get('session.cookie_httponly')); session_set_cookie_params(['secure' => true, 'httponly' => true]); var_dump(ini_get('session.cookie_secure'), ini_get('session.cookie_httponly'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/cWO3Z
function name:  (null)
number of ops:  26
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                                               'var_dump'
          3        INIT_FCALL                                               'ini_get'
          4        SEND_VAL                                                 'session.cookie_secure'
          5        DO_ICALL                                         $1      
          6        SEND_VAR                                                 $1
          7        INIT_FCALL                                               'ini_get'
          8        SEND_VAL                                                 'session.cookie_httponly'
          9        DO_ICALL                                         $2      
         10        SEND_VAR                                                 $2
         11        DO_ICALL                                                 
    6    12        INIT_FCALL                                               'session_set_cookie_params'
         13        SEND_VAL                                                 <array>
         14        DO_ICALL                                                 
    7    15        INIT_FCALL                                               'var_dump'
         16        INIT_FCALL                                               'ini_get'
         17        SEND_VAL                                                 'session.cookie_secure'
         18        DO_ICALL                                         $5      
         19        SEND_VAR                                                 $5
         20        INIT_FCALL                                               'ini_get'
         21        SEND_VAL                                                 'session.cookie_httponly'
         22        DO_ICALL                                         $6      
         23        SEND_VAR                                                 $6
         24        DO_ICALL                                                 
         25      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
140.96 ms | 1429 KiB | 17 Q