3v4l.org

run code in 300+ PHP versions simultaneously
<?php $cond1 = 0; $cond2 = 0; $cond3 = 0; if (++$cond1 || ++$cond2 || ++$cond3) { echo $cond1 . "\n"; echo $cond2 . "\n"; echo $cond3 . "\n"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 47) Position 1 = 5, Position 2 = 7
Branch analysis from position: 5
2 jumps found. (Code = 47) Position 1 = 8, Position 2 = 10
Branch analysis from position: 8
2 jumps found. (Code = 43) Position 1 = 11, Position 2 = 17
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 17
Branch analysis from position: 10
Branch analysis from position: 7
filename:       /in/ZAZcD
function name:  (null)
number of ops:  18
compiled vars:  !0 = $cond1, !1 = $cond2, !2 = $cond3
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 0
    4     1        ASSIGN                                                   !1, 0
    5     2        ASSIGN                                                   !2, 0
    7     3        PRE_INC                                          ~6      !0
          4      > JMPNZ_EX                                         ~6      ~6, ->7
          5    >   PRE_INC                                          ~7      !1
          6        BOOL                                             ~6      ~7
          7    > > JMPNZ_EX                                         ~6      ~6, ->10
          8    >   PRE_INC                                          ~8      !2
          9        BOOL                                             ~6      ~8
         10    > > JMPZ                                                     ~6, ->17
    8    11    >   CONCAT                                           ~9      !0, '%0A'
         12        ECHO                                                     ~9
    9    13        CONCAT                                           ~10     !1, '%0A'
         14        ECHO                                                     ~10
   10    15        CONCAT                                           ~11     !2, '%0A'
         16        ECHO                                                     ~11
   11    17    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
137.04 ms | 1404 KiB | 13 Q