3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.88 ms | 1392 KiB | 13 Q