3v4l.org

run code in 300+ PHP versions simultaneously
<?php define("foo", "bar"); echo foo; echo "\n"; define("TRUE", false); if (TRUE) { echo "TRUE"; } else { echo "FALSE"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 12, Position 2 = 14
Branch analysis from position: 12
1 jumps found. (Code = 42) Position 1 = 15
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/DuVLh
function name:  (null)
number of ops:  16
compiled vars:  none
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   3     0  E >   INIT_FCALL                                               'define'
         1        SEND_VAL                                                 'foo'
         2        SEND_VAL                                                 'bar'
         3        DO_ICALL                                                 
   5     4        FETCH_CONSTANT                                   ~1      'foo'
         5        ASSIGN_OBJ                                               ~1
   6     6        ASSIGN_OBJ                                               '%0A'
   8     7        INIT_FCALL                                               'define'
         8        SEND_VAL                                                 'TRUE'
         9        SEND_VAL                                                 <false>
        10        DO_ICALL                                                 
  10    11      > JMPZ                                                     <true>, ->14
  11    12    >   ASSIGN_OBJ                                               'TRUE'
        13      > JMP                                                      ->15
  13    14    >   ASSIGN_OBJ                                               'FALSE'
  14    15    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.4.0