3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.98 ms | 1394 KiB | 15 Q