3v4l.org

run code in 300+ PHP versions simultaneously
<?php $values = array(); $test = false; if ( empty( $values ) || 'foo' !== $test ) { echo 'true'; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 47) Position 1 = 4, Position 2 = 6
Branch analysis from position: 4
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 8
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
Branch analysis from position: 6
filename:       /in/UAkrb
function name:  (null)
number of ops:  9
compiled vars:  !0 = $values, !1 = $test
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        ASSIGN                                                   !1, <false>
    6     2        ISSET_ISEMPTY_CV                                 ~4      !0
          3      > JMPNZ_EX                                         ~4      ~4, ->6
          4    >   IS_NOT_IDENTICAL                                 ~5      !1, 'foo'
          5        BOOL                                             ~4      ~5
          6    > > JMPZ                                                     ~4, ->8
    7     7    >   ECHO                                                     'true'
    8     8    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.22 ms | 1393 KiB | 13 Q