3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.39 ms | 1393 KiB | 13 Q