3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.71 ms | 1385 KiB | 13 Q