3v4l.org

run code in 300+ PHP versions simultaneously
<?php $company = false; $fn = false; $ln = false; if (empty($company) && (!empty($fn) && !empty($ln))) { echo 'error'; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 5, Position 2 = 12
Branch analysis from position: 5
2 jumps found. (Code = 46) Position 1 = 8, Position 2 = 11
Branch analysis from position: 8
2 jumps found. (Code = 43) Position 1 = 13, Position 2 = 14
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 14
Branch analysis from position: 11
Branch analysis from position: 12
filename:       /in/gPHnV
function name:  (null)
number of ops:  15
compiled vars:  !0 = $company, !1 = $fn, !2 = $ln
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <false>
    3     1        ASSIGN                                                   !1, <false>
    4     2        ASSIGN                                                   !2, <false>
    5     3        ISSET_ISEMPTY_CV                                 ~6      !0
          4      > JMPZ_EX                                          ~6      ~6, ->12
          5    >   ISSET_ISEMPTY_CV                                 ~7      !1
          6        BOOL_NOT                                         ~8      ~7
          7      > JMPZ_EX                                          ~8      ~8, ->11
          8    >   ISSET_ISEMPTY_CV                                 ~9      !2
          9        BOOL_NOT                                         ~10     ~9
         10        BOOL                                             ~8      ~10
         11    >   BOOL                                             ~6      ~8
         12    > > JMPZ                                                     ~6, ->14
    6    13    >   ECHO                                                     'error'
    7    14    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.24 ms | 1384 KiB | 13 Q