3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.08 ms | 1394 KiB | 15 Q