3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
178.06 ms | 1394 KiB | 15 Q