3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = mysqli_connect(); $b = false; echo $a || $b;
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 47) Position 1 = 5, Position 2 = 6
Branch analysis from position: 5
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
filename:       /in/9hegc
function name:  (null)
number of ops:  8
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL_BY_NAME                                       'mysqli_connect'
          1        DO_FCALL                                      0  $2      
          2        ASSIGN                                                   !0, $2
    3     3        ASSIGN                                                   !1, <false>
    5     4      > JMPNZ_EX                                         ~5      !0, ->6
          5    >   BOOL                                             ~5      !1
          6    >   ECHO                                                     ~5
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.82 ms | 1384 KiB | 13 Q