3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.76 ms | 1393 KiB | 13 Q