3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.68 ms | 1394 KiB | 15 Q