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        ECHO                                                     ~1
    6     6        ECHO                                                     '%0A'
    8     7        INIT_FCALL                                               'define'
          8        SEND_VAL                                                 'TRUE'
          9        SEND_VAL                                                 <false>
         10        DO_ICALL                                                 
   10    11      > JMPZ                                                     <true>, ->14
   11    12    >   ECHO                                                     'TRUE'
         13      > JMP                                                      ->15
   13    14    >   ECHO                                                     'FALSE'
   14    15    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.31 ms | 1394 KiB | 15 Q