3v4l.org

run code in 300+ PHP versions simultaneously
<?php $msf = true; $esp = false; $ssri = 2343; $res = $msf && (!empty($esp) || empty($ssri)); var_dump($res);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 4, Position 2 = 10
Branch analysis from position: 4
2 jumps found. (Code = 47) Position 1 = 7, Position 2 = 9
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 9
Branch analysis from position: 10
filename:       /in/GaO2T
function name:  (null)
number of ops:  15
compiled vars:  !0 = $msf, !1 = $esp, !2 = $ssri, !3 = $res
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <true>
    4     1        ASSIGN                                                   !1, <false>
    5     2        ASSIGN                                                   !2, 2343
    6     3      > JMPZ_EX                                          ~7      !0, ->10
          4    >   ISSET_ISEMPTY_CV                                 ~8      !1
          5        BOOL_NOT                                         ~9      ~8
          6      > JMPNZ_EX                                         ~9      ~9, ->9
          7    >   ISSET_ISEMPTY_CV                                 ~10     !2
          8        BOOL                                             ~9      ~10
          9    >   BOOL                                             ~7      ~9
         10    >   ASSIGN                                                   !3, ~7
    8    11        INIT_FCALL                                               'var_dump'
         12        SEND_VAR                                                 !3
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
143.36 ms | 1425 KiB | 14 Q