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/WhuWX
function name:  (null)
number of ops:  10
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, ->6
    5     4    >   PRE_INC                                                  !0
    6     5        PRE_INC                                                  !1
    8     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:
146.55 ms | 1393 KiB | 13 Q