3v4l.org

run code in 500+ PHP versions simultaneously
<?php var_export(!isset($cookie1, $cookie2)); echo "\n"; $cookie1 = 'declared'; var_export(!isset($cookie1, $cookie2)); echo "\n"; $cookie2 = 'declared'; var_export(!isset($cookie1, $cookie2));
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 3, Position 2 = 5
Branch analysis from position: 3
2 jumps found. (Code = 46) Position 1 = 13, Position 2 = 15
Branch analysis from position: 13
2 jumps found. (Code = 46) Position 1 = 23, Position 2 = 25
Branch analysis from position: 23
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 25
Branch analysis from position: 15
Branch analysis from position: 5
filename:       /in/PlQnl
function name:  (null)
number of ops:  29
compiled vars:  !0 = $cookie1, !1 = $cookie2
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                                   'var_export'
          1        ISSET_ISEMPTY_CV                                     ~2      !0
          2      > JMPZ_EX                                              ~2      ~2, ->5
          3    >   ISSET_ISEMPTY_CV                                     ~3      !1
          4        BOOL                                                 ~2      ~3
          5    >   BOOL_NOT                                             ~4      ~2
          6        SEND_VAL                                                     ~4
          7        DO_ICALL                                                     
    4     8        ECHO                                                         '%0A'
    5     9        ASSIGN                                                       !0, 'declared'
    6    10        INIT_FCALL                                                   'var_export'
         11        ISSET_ISEMPTY_CV                                     ~7      !0
         12      > JMPZ_EX                                              ~7      ~7, ->15
         13    >   ISSET_ISEMPTY_CV                                     ~8      !1
         14        BOOL                                                 ~7      ~8
         15    >   BOOL_NOT                                             ~9      ~7
         16        SEND_VAL                                                     ~9
         17        DO_ICALL                                                     
    7    18        ECHO                                                         '%0A'
    8    19        ASSIGN                                                       !1, 'declared'
    9    20        INIT_FCALL                                                   'var_export'
         21        ISSET_ISEMPTY_CV                                     ~12     !0
         22      > JMPZ_EX                                              ~12     ~12, ->25
         23    >   ISSET_ISEMPTY_CV                                     ~13     !1
         24        BOOL                                                 ~12     ~13
         25    >   BOOL_NOT                                             ~14     ~12
         26        SEND_VAL                                                     ~14
         27        DO_ICALL                                                     
         28      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
232.56 ms | 1980 KiB | 14 Q