3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo ((true==true ? 'true' : false)==true ? 'false' : 'banana');
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 1, Position 2 = 3
Branch analysis from position: 1
1 jumps found. (Code = 42) Position 1 = 4
Branch analysis from position: 4
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 8
Branch analysis from position: 6
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 8
Branch analysis from position: 6
Branch analysis from position: 8
filename:       /in/AhTdP
function name:  (null)
number of ops:  11
compiled vars:  none
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   2     0  E > > JMPZ                                                     <true>, ->3
         1    >   ASSIGN_BW_OR                                  0  ~0      'true'
         2      > JMP                                                      ->4
         3    >   ASSIGN_BW_OR                                  0  ~0      <false>
         4    >   BOOL                                             ~1      ~0
         5      > JMPZ                                                     ~1, ->8
         6    >   ASSIGN_BW_OR                                  0  ~2      'false'
         7      > JMP                                                      ->9
         8    >   ASSIGN_BW_OR                                  0  ~2      'banana'
         9    >   ASSIGN_OBJ                                               ~2
        10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.4.0