3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.07 ms | 1386 KiB | 15 Q