3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(E_ALL); setcookie('foo', 'bar', time()+(60*60*24*30), '/; SameSite=None', '3v4l.org', true, true);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/iMo7C
function name:  (null)
number of ops:  16
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'error_reporting'
          1        SEND_VAL                                                 32767
          2        DO_ICALL                                                 
    5     3        INIT_FCALL                                               'setcookie'
          4        SEND_VAL                                                 'foo'
          5        SEND_VAL                                                 'bar'
          6        INIT_FCALL                                               'time'
          7        DO_ICALL                                         $1      
          8        ADD                                              ~2      $1, 2592000
          9        SEND_VAL                                                 ~2
         10        SEND_VAL                                                 '%2F%3B+SameSite%3DNone'
         11        SEND_VAL                                                 '3v4l.org'
         12        SEND_VAL                                                 <true>
         13        SEND_VAL                                                 <true>
         14        DO_ICALL                                                 
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.07 ms | 1001 KiB | 16 Q