3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo 'Non defined: '; if ((!URL_REWRITING_ALL) || !defined('URL_REWRITING_ALL')) { echo 'A'; } else { echo 'B'; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 47) Position 1 = 4, Position 2 = 7
Branch analysis from position: 4
2 jumps found. (Code = 43) Position 1 = 8, Position 2 = 10
Branch analysis from position: 8
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
filename:       /in/ne80v
function name:  (null)
number of ops:  12
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ECHO                                                     'Non+defined%3A+'
    3     1        FETCH_CONSTANT                                   ~0      'URL_REWRITING_ALL'
          2        BOOL_NOT                                         ~1      ~0
          3      > JMPNZ_EX                                         ~1      ~1, ->7
          4    >   DEFINED                                          ~2      'URL_REWRITING_ALL'
          5        BOOL_NOT                                         ~3      ~2
          6        BOOL                                             ~1      ~3
          7    > > JMPZ                                                     ~1, ->10
    4     8    >   ECHO                                                     'A'
          9      > JMP                                                      ->11
    7    10    >   ECHO                                                     'B'
    8    11    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.5 ms | 1393 KiB | 13 Q