3v4l.org

run code in 300+ PHP versions simultaneously
<?php if(empty($GLOBALS['wcjanim_id'])){ $GLOBALS['wcjanim_id'] = 0; } $GLOBALS['wcjanim_id'] = $GLOBALS['wcjanim_id'] +1; echo $GLOBALS['wcjanim_id'];
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 3, Position 2 = 6
Branch analysis from position: 3
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
filename:       /in/VUquW
function name:  (null)
number of ops:  16
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   FETCH_IS                                         ~0      'GLOBALS'
          1        ISSET_ISEMPTY_DIM_OBJ                         1          ~0, 'wcjanim_id'
          2      > JMPZ                                                     ~1, ->6
          3    >   FETCH_W                      global              $2      'GLOBALS'
          4        ASSIGN_DIM                                               $2, 'wcjanim_id'
          5        OP_DATA                                                  0
    4     6    >   FETCH_R                      global              ~6      'GLOBALS'
          7        FETCH_DIM_R                                      ~7      ~6, 'wcjanim_id'
          8        ADD                                              ~8      ~7, 1
          9        FETCH_W                      global              $4      'GLOBALS'
         10        ASSIGN_DIM                                               $4, 'wcjanim_id'
         11        OP_DATA                                                  ~8
    5    12        FETCH_R                      global              ~9      'GLOBALS'
         13        FETCH_DIM_R                                      ~10     ~9, 'wcjanim_id'
         14        ECHO                                                     ~10
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.94 ms | 1384 KiB | 13 Q