3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(E_ALL); if ( defined(System) && defined (out)) { System.out.print('Hi'); } else { echo "No Java here :)"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 8, Position 2 = 13
Branch analysis from position: 8
2 jumps found. (Code = 43) Position 1 = 14, Position 2 = 21
Branch analysis from position: 14
1 jumps found. (Code = 42) Position 1 = 22
Branch analysis from position: 22
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 21
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 13
filename:       /in/dLJLR
function name:  (null)
number of ops:  23
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'error_reporting'
          1        SEND_VAL                                                 32767
          2        DO_ICALL                                                 
    3     3        INIT_FCALL                                               'defined'
          4        FETCH_CONSTANT                                   ~1      'System'
          5        SEND_VAL                                                 ~1
          6        DO_ICALL                                         $2      
          7      > JMPZ_EX                                          ~3      $2, ->13
          8    >   INIT_FCALL                                               'defined'
          9        FETCH_CONSTANT                                   ~4      'out'
         10        SEND_VAL                                                 ~4
         11        DO_ICALL                                         $5      
         12        BOOL                                             ~3      $5
         13    > > JMPZ                                                     ~3, ->21
    4    14    >   FETCH_CONSTANT                                   ~6      'System'
         15        FETCH_CONSTANT                                   ~7      'out'
         16        CONCAT                                           ~8      ~6, ~7
         17        ECHO                                                     'Hi'
         18        CONCAT                                           ~9      ~8, '1'
         19        FREE                                                     ~9
         20      > JMP                                                      ->22
    7    21    >   ECHO                                                     'No+Java+here+%3A%29'
    8    22    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.93 ms | 1395 KiB | 17 Q