3v4l.org

run code in 300+ PHP versions simultaneously
<?php try { header('Content-Type: text/html; charset=utf-8'); header('Set-Cookie: track=ABC'); } catch (Exception $e) { // Catch the exception } finally { var_dump($_COOKIE); } ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 8
Branch analysis from position: 8
2 jumps found. (Code = 162) Position 1 = 10, Position 2 = 9
Branch analysis from position: 10
1 jumps found. (Code = 163) Position 1 = -2
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 15
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Found catch point at position: 7
Branch analysis from position: 7
2 jumps found. (Code = 107) Position 1 = 8, Position 2 = -2
Branch analysis from position: 8
filename:       /in/o26AJ
function name:  (null)
number of ops:  16
compiled vars:  !0 = $e
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'header'
          1        SEND_VAL                                                 'Content-Type%3A+text%2Fhtml%3B+charset%3Dutf-8'
          2        DO_ICALL                                                 
    4     3        INIT_FCALL                                               'header'
          4        SEND_VAL                                                 'Set-Cookie%3A+track%3DABC'
          5        DO_ICALL                                                 
          6      > JMP                                                      ->8
    6     7  E > > CATCH                                       last         'Exception'
   10     8    > > FAST_CALL                                                ->10
          9    > > JMP                                                      ->15
   11    10    >   INIT_FCALL                                               'var_dump'
         11        FETCH_R                      global              ~4      '_COOKIE'
         12        SEND_VAL                                                 ~4
         13        DO_ICALL                                                 
         14      > FAST_RET                                                 
   14    15    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.74 ms | 1395 KiB | 17 Q