3v4l.org

run code in 300+ PHP versions simultaneously
<?php (defined('A') && empty(A)) || print('A');
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 2, Position 2 = 5
Branch analysis from position: 2
2 jumps found. (Code = 47) Position 1 = 6, Position 2 = 8
Branch analysis from position: 6
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
Branch analysis from position: 5
filename:       /in/iU10F
function name:  (null)
number of ops:  9
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   DEFINED                                          ~0      'A'
          1      > JMPZ_EX                                          ~0      ~0, ->5
          2    >   FETCH_CONSTANT                                   ~1      'A'
          3        BOOL_NOT                                         ~2      ~1
          4        BOOL                                             ~0      ~2
          5    > > JMPNZ_EX                                         ~0      ~0, ->8
          6    >   ECHO                                                     'A'
          7        BOOL                                             ~0      1
          8    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.81 ms | 1384 KiB | 13 Q