3v4l.org

run code in 300+ PHP versions simultaneously
<?php $balance = true; $expense = true; if($balance && $expense){ echo 'true'; } echo '\n'; echo (bool)($balance && $expense);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 3, Position 2 = 4
Branch analysis from position: 3
2 jumps found. (Code = 43) Position 1 = 5, Position 2 = 6
Branch analysis from position: 5
2 jumps found. (Code = 46) Position 1 = 8, Position 2 = 9
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 9
Branch analysis from position: 6
Branch analysis from position: 4
filename:       /in/e0aBf
function name:  (null)
number of ops:  12
compiled vars:  !0 = $balance, !1 = $expense
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <true>
    4     1        ASSIGN                                                   !1, <true>
    5     2      > JMPZ_EX                                          ~4      !0, ->4
          3    >   BOOL                                             ~4      !1
          4    > > JMPZ                                                     ~4, ->6
    6     5    >   ECHO                                                     'true'
    8     6    >   ECHO                                                     '%5Cn'
    9     7      > JMPZ_EX                                          ~5      !0, ->9
          8    >   BOOL                                             ~5      !1
          9    >   BOOL                                             ~6      ~5
         10        ECHO                                                     ~6
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.12 ms | 933 KiB | 14 Q