3v4l.org

run code in 300+ PHP versions simultaneously
<?php if ( !defined("System") && !defined ("out")) { System.out.print('Hi'); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 3, Position 2 = 6
Branch analysis from position: 3
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 13
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 13
Branch analysis from position: 6
filename:       /in/pWVU9
function name:  (null)
number of ops:  14
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   DEFINED                                          ~0      'System'
          1        BOOL_NOT                                         ~1      ~0
          2      > JMPZ_EX                                          ~1      ~1, ->6
          3    >   DEFINED                                          ~2      'out'
          4        BOOL_NOT                                         ~3      ~2
          5        BOOL                                             ~1      ~3
          6    > > JMPZ                                                     ~1, ->13
    3     7    >   FETCH_CONSTANT                                   ~4      'System'
          8        FETCH_CONSTANT                                   ~5      'out'
          9        CONCAT                                           ~6      ~4, ~5
         10        ECHO                                                     'Hi'
         11        CONCAT                                           ~7      ~6, '1'
         12        FREE                                                     ~7
    4    13    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.73 ms | 1384 KiB | 13 Q