3v4l.org

run code in 300+ PHP versions simultaneously
<?php $company = ''; $fn = ''; $ln = ''; if (empty($company) && (empty($fn) && empty($ln))) { echo 'error'; } else { echo 'good'; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 5, Position 2 = 10
Branch analysis from position: 5
2 jumps found. (Code = 46) Position 1 = 7, Position 2 = 9
Branch analysis from position: 7
2 jumps found. (Code = 43) Position 1 = 11, Position 2 = 13
Branch analysis from position: 11
1 jumps found. (Code = 42) Position 1 = 14
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 9
Branch analysis from position: 10
filename:       /in/eP1CK
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, ''
    3     1        ASSIGN                                                   !1, ''
    4     2        ASSIGN                                                   !2, ''
    5     3        ISSET_ISEMPTY_CV                                 ~6      !0
          4      > JMPZ_EX                                          ~6      ~6, ->10
          5    >   ISSET_ISEMPTY_CV                                 ~7      !1
          6      > JMPZ_EX                                          ~7      ~7, ->9
          7    >   ISSET_ISEMPTY_CV                                 ~8      !2
          8        BOOL                                             ~7      ~8
          9    >   BOOL                                             ~6      ~7
         10    > > JMPZ                                                     ~6, ->13
    6    11    >   ECHO                                                     'error'
         12      > JMP                                                      ->14
    8    13    >   ECHO                                                     'good'
    9    14    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.65 ms | 1394 KiB | 13 Q