3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 10; $b = 21; echo $a|$b. '<br />'; echo $a||$b. '<br />';
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 47) Position 1 = 6, Position 2 = 8
Branch analysis from position: 6
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
filename:       /in/T96rY
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, 10
    3     1        ASSIGN                                                   !1, 21
    5     2        CONCAT                                           ~4      !1, '%3Cbr+%2F%3E'
          3        BW_OR                                            ~5      !0, ~4
          4        ECHO                                                     ~5
    6     5      > JMPNZ_EX                                         ~6      !0, ->8
          6    >   CONCAT                                           ~7      !1, '%3Cbr+%2F%3E'
          7        BOOL                                             ~6      ~7
          8    >   ECHO                                                     ~6
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.08 ms | 1393 KiB | 13 Q