3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 'b'; $b = true; var_dump($a === 'b' and $b); var_dump($a === 'b' && $b);
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 = 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: 6
filename:       /in/3FWHa
function name:  (null)
number of ops:  15
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'b'
    4     1        ASSIGN                                                   !1, <true>
    6     2        INIT_FCALL                                               'var_dump'
          3        IS_IDENTICAL                                     ~4      !0, 'b'
          4      > JMPZ_EX                                          ~4      ~4, ->6
          5    >   BOOL                                             ~4      !1
          6    >   SEND_VAL                                                 ~4
          7        DO_ICALL                                                 
    7     8        INIT_FCALL                                               'var_dump'
          9        IS_IDENTICAL                                     ~6      !0, 'b'
         10      > JMPZ_EX                                          ~6      ~6, ->12
         11    >   BOOL                                             ~6      !1
         12    >   SEND_VAL                                                 ~6
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.79 ms | 1394 KiB | 15 Q