3v4l.org

run code in 300+ PHP versions simultaneously
<?php $company = false; $fn = false; $ln = false; if (empty($company) && (!epmpty($fn) && !empty($ln))) { echo 'error'; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 5, Position 2 = 14
Branch analysis from position: 5
2 jumps found. (Code = 46) Position 1 = 10, Position 2 = 13
Branch analysis from position: 10
2 jumps found. (Code = 43) Position 1 = 15, Position 2 = 16
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 16
Branch analysis from position: 13
Branch analysis from position: 14
filename:       /in/OKCLA
function name:  (null)
number of ops:  17
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, ->14
          5    >   INIT_FCALL_BY_NAME                                       'epmpty'
          6        SEND_VAR_EX                                              !1
          7        DO_FCALL                                      0  $7      
          8        BOOL_NOT                                         ~8      $7
          9      > JMPZ_EX                                          ~8      ~8, ->13
         10    >   ISSET_ISEMPTY_CV                                 ~9      !2
         11        BOOL_NOT                                         ~10     ~9
         12        BOOL                                             ~8      ~10
         13    >   BOOL                                             ~6      ~8
         14    > > JMPZ                                                     ~6, ->16
    6    15    >   ECHO                                                     'error'
    7    16    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.73 ms | 1394 KiB | 13 Q