3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 1; $b = 0; echo ($a AND $b) . "<br>"; echo ($a or $b) . "<br>"; echo ($a XOR $b) . "<br>"; echo !$a . "<br>"; ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 3, Position 2 = 4
Branch analysis from position: 3
2 jumps found. (Code = 47) Position 1 = 7, Position 2 = 8
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
Branch analysis from position: 4
filename:       /in/h9AfH
function name:  (null)
number of ops:  17
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 1
          1        ASSIGN                                                   !1, 0
    4     2      > JMPZ_EX                                          ~4      !0, ->4
          3    >   BOOL                                             ~4      !1
          4    >   CONCAT                                           ~5      ~4, '%3Cbr%3E'
          5        ECHO                                                     ~5
    5     6      > JMPNZ_EX                                         ~6      !0, ->8
          7    >   BOOL                                             ~6      !1
          8    >   CONCAT                                           ~7      ~6, '%3Cbr%3E'
          9        ECHO                                                     ~7
    6    10        BOOL_XOR                                         ~8      !0, !1
         11        CONCAT                                           ~9      ~8, '%3Cbr%3E'
         12        ECHO                                                     ~9
    7    13        BOOL_NOT                                         ~10     !0
         14        CONCAT                                           ~11     ~10, '%3Cbr%3E'
         15        ECHO                                                     ~11
    8    16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
199.52 ms | 1398 KiB | 13 Q