3v4l.org

run code in 300+ PHP versions simultaneously
<?php setcookie('hoge', 'fuga', [ 'expires' => 3600, 'path' => '/', 'secure' => true, 'httponly' => true, "samesite" => 'Strict', ]);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/bVCdt
function name:  (null)
number of ops:  6
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'setcookie'
          1        SEND_VAL                                                 'hoge'
          2        SEND_VAL                                                 'fuga'
    3     3        SEND_VAL                                                 <array>
    2     4        DO_ICALL                                                 
    8     5      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
140.91 ms | 997 KiB | 14 Q