3v4l.org

run code in 300+ PHP versions simultaneously
<?php if(defined('MY_DEBUG')){var_dump(debug_backtrace());}else{define('MY_DEBUG', 1);}
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 2, Position 2 = 8
Branch analysis from position: 2
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9lvkl
function name:  (null)
number of ops:  13
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   DEFINED                                                  'MY_DEBUG'
          1      > JMPZ                                                     ~0, ->8
          2    >   INIT_FCALL                                               'var_dump'
          3        INIT_FCALL                                               'debug_backtrace'
          4        DO_ICALL                                         $1      
          5        SEND_VAR                                                 $1
          6        DO_ICALL                                                 
          7      > JMP                                                      ->12
          8    >   INIT_FCALL                                               'define'
          9        SEND_VAL                                                 'MY_DEBUG'
         10        SEND_VAL                                                 1
         11        DO_ICALL                                                 
         12    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.66 ms | 1385 KiB | 19 Q