3v4l.org

run code in 300+ PHP versions simultaneously
<?php $q = TRUE and FALSE; // or use AND var_dump($q); $q = FALSE or TRUE; // or use OR var_dump($q); $q = TRUE && FALSE; // or use AND var_dump($q); $q = FALSE || TRUE; // or use OR var_dump($q);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 2, Position 2 = 3
Branch analysis from position: 2
2 jumps found. (Code = 47) Position 1 = 8, Position 2 = 9
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 9
Branch analysis from position: 3
filename:       /in/1KEJX
function name:  (null)
number of ops:  21
compiled vars:  !0 = $q
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                           ~1      !0, <true>
          1      > JMPZ_EX                                          ~1      ~1, ->3
          2    >   BOOL                                             ~1      <false>
    4     3    >   INIT_FCALL                                               'var_dump'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                                 
    6     6        ASSIGN                                           ~3      !0, <false>
          7      > JMPNZ_EX                                         ~3      ~3, ->9
          8    >   BOOL                                             ~3      <true>
    7     9    >   INIT_FCALL                                               'var_dump'
         10        SEND_VAR                                                 !0
         11        DO_ICALL                                                 
    9    12        ASSIGN                                                   !0, <false>
   10    13        INIT_FCALL                                               'var_dump'
         14        SEND_VAR                                                 !0
         15        DO_ICALL                                                 
   12    16        ASSIGN                                                   !0, <true>
   13    17        INIT_FCALL                                               'var_dump'
         18        SEND_VAR                                                 !0
         19        DO_ICALL                                                 
         20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
251.74 ms | 1009 KiB | 14 Q