3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
282.69 ms | 1394 KiB | 16 Q