3v4l.org

run code in 300+ PHP versions simultaneously
<?php if(!function_exists('action')){ function action($i){ } } define('DEBUG' , true); for($i=0; $i<$loops; $i++){ if(DEBUG){ action($i); } if(!DEBUG){ action($i); } }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 5, Position 2 = 6
Branch analysis from position: 5
1 jumps found. (Code = 42) Position 1 = 24
Branch analysis from position: 24
2 jumps found. (Code = 44) Position 1 = 26, Position 2 = 12
Branch analysis from position: 26
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 12
2 jumps found. (Code = 43) Position 1 = 14, Position 2 = 17
Branch analysis from position: 14
2 jumps found. (Code = 43) Position 1 = 20, Position 2 = 23
Branch analysis from position: 20
2 jumps found. (Code = 44) Position 1 = 26, Position 2 = 12
Branch analysis from position: 26
Branch analysis from position: 12
Branch analysis from position: 23
Branch analysis from position: 17
Branch analysis from position: 6
filename:       /in/9BWrL
function name:  (null)
number of ops:  27
compiled vars:  !0 = $i, !1 = $loops
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'function_exists'
          1        SEND_VAL                                                 'action'
          2        DO_ICALL                                         $2      
          3        BOOL_NOT                                         ~3      $2
          4      > JMPZ                                                     ~3, ->6
    4     5    >   DECLARE_FUNCTION                                         'action'
    8     6    >   INIT_FCALL                                               'define'
          7        SEND_VAL                                                 'DEBUG'
          8        SEND_VAL                                                 <true>
          9        DO_ICALL                                                 
    9    10        ASSIGN                                                   !0, 0
         11      > JMP                                                      ->24
   10    12    >   FETCH_CONSTANT                                   ~6      'DEBUG'
         13      > JMPZ                                                     ~6, ->17
         14    >   INIT_FCALL_BY_NAME                                       'action'
         15        SEND_VAR_EX                                              !0
         16        DO_FCALL                                      0          
   11    17    >   FETCH_CONSTANT                                   ~8      'DEBUG'
         18        BOOL_NOT                                         ~9      ~8
         19      > JMPZ                                                     ~9, ->23
         20    >   INIT_FCALL_BY_NAME                                       'action'
         21        SEND_VAR_EX                                              !0
         22        DO_FCALL                                      0          
    9    23    >   PRE_INC                                                  !0
         24    >   IS_SMALLER                                               !0, !1
         25      > JMPNZ                                                    ~12, ->12
   12    26    > > RETURN                                                   1

Function %00action%2Fin%2F9BWrL%3A4%240:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9BWrL
function name:  action
number of ops:  2
compiled vars:  !0 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   RECV                                             !0      
    5     1      > RETURN                                                   null

End of function %00action%2Fin%2F9BWrL%3A4%240

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.57 ms | 1388 KiB | 17 Q