3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.26 ms | 1392 KiB | 13 Q