3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php if((true && (false || false)) || true) { echo 1; } else { echo 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/1YCiP
function name:  (null)
number of ops:  5
compiled vars:  none
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   2     0  E > > JMPZ                                                     <true>, ->3
   3     1    >   ECHO                                                     1
         2      > JMP                                                      ->4
   5     3    >   ECHO                                                     0
         4    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.2.0