3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo true && false || true ? 1 : 0;
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = 1, Position 2 = 3
Branch analysis from position: 1
Jump found. Position 1 = 4
Branch analysis from position: 4
Jump found. Position 1 = -2
Branch analysis from position: 3
Jump found. Position 1 = -2
filename:       /in/j0Ivl
function name:  (null)
number of ops:  6
compiled vars:  none
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   3     0  E > > JMPZ                                                     <true>, ->3
         1    >   QM_ASSIGN                                        ~0      1
         2      > JMP                                                      ->4
         3    >   QM_ASSIGN                                        ~0      0
         4    >   ECHO                                                     ~0
         5      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.1.0