3v4l.org

run code in 300+ PHP versions simultaneously
<?php $branch = 0; $data = array(); $data['isset'] = isset($branch); $data['empty'] = empty($branch); var_dump($branch); $branch = ""; $data['isset'] = isset($branch); $data['empty'] = empty($branch); var_dump($branch);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FNl58
function name:  (null)
number of ops:  22
compiled vars:  !0 = $branch, !1 = $data
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 0
    3     1        ASSIGN                                                   !1, <array>
    4     2        ISSET_ISEMPTY_CV                                 ~5      !0
          3        ASSIGN_DIM                                               !1, 'isset'
          4        OP_DATA                                                  ~5
    5     5        ISSET_ISEMPTY_CV                                 ~7      !0
          6        ASSIGN_DIM                                               !1, 'empty'
          7        OP_DATA                                                  ~7
    6     8        INIT_FCALL                                               'var_dump'
          9        SEND_VAR                                                 !0
         10        DO_ICALL                                                 
    7    11        ASSIGN                                                   !0, ''
    8    12        ISSET_ISEMPTY_CV                                 ~11     !0
         13        ASSIGN_DIM                                               !1, 'isset'
         14        OP_DATA                                                  ~11
    9    15        ISSET_ISEMPTY_CV                                 ~13     !0
         16        ASSIGN_DIM                                               !1, 'empty'
         17        OP_DATA                                                  ~13
   10    18        INIT_FCALL                                               'var_dump'
         19        SEND_VAR                                                 !0
         20        DO_ICALL                                                 
         21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.96 ms | 1395 KiB | 15 Q