3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
174.82 ms | 1395 KiB | 15 Q