3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.81 ms | 1392 KiB | 13 Q