3v4l.org

run code in 300+ PHP versions simultaneously
<?php $cookieme_1 = 'dancer'; setcookie('myheartcant',$cookieme_1,3600,'/','.3v4l.org'); if (isset($_COOKIE['myheartcant'])){ echo $_COOKIE['myheartcant']; } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 11, Position 2 = 14
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 14
filename:       /in/GqjVF
function name:  (null)
number of ops:  15
compiled vars:  !0 = $cookieme_1
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'dancer'
    3     1        INIT_FCALL                                               'setcookie'
          2        SEND_VAL                                                 'myheartcant'
          3        SEND_VAR                                                 !0
          4        SEND_VAL                                                 3600
          5        SEND_VAL                                                 '%2F'
          6        SEND_VAL                                                 '.3v4l.org'
          7        DO_ICALL                                                 
    4     8        FETCH_IS                                         ~3      '_COOKIE'
          9        ISSET_ISEMPTY_DIM_OBJ                         0          ~3, 'myheartcant'
         10      > JMPZ                                                     ~4, ->14
    5    11    >   FETCH_R                      global              ~5      '_COOKIE'
         12        FETCH_DIM_R                                      ~6      ~5, 'myheartcant'
         13        ECHO                                                     ~6
    8    14    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.76 ms | 1394 KiB | 15 Q