3v4l.org

run code in 300+ PHP versions simultaneously
<?php setcookie ( "TestCookie" , "test" ); var_dump($_COOKIE['TestCookie']);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/A01nL
function name:  (null)
number of ops:  10
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'setcookie'
          1        SEND_VAL                                                 'TestCookie'
          2        SEND_VAL                                                 'test'
          3        DO_ICALL                                                 
    3     4        INIT_FCALL                                               'var_dump'
          5        FETCH_R                      global              ~1      '_COOKIE'
          6        FETCH_DIM_R                                      ~2      ~1, 'TestCookie'
          7        SEND_VAL                                                 ~2
          8        DO_ICALL                                                 
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.76 ms | 1394 KiB | 17 Q