3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.72 ms | 1394 KiB | 15 Q