3v4l.org

run code in 300+ PHP versions simultaneously
<?php //$address = true; $suburb = true; $latitude = true; $longitude = true; if (!isset($address) && !isset($suburb) || !isset($latitude) && !isset($longitude)) { var_dump('NOTHING'); } else { var_dump('ELSE'); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 6, Position 2 = 9
Branch analysis from position: 6
2 jumps found. (Code = 47) Position 1 = 10, Position 2 = 17
Branch analysis from position: 10
2 jumps found. (Code = 46) Position 1 = 13, Position 2 = 16
Branch analysis from position: 13
2 jumps found. (Code = 43) Position 1 = 18, Position 2 = 22
Branch analysis from position: 18
1 jumps found. (Code = 42) Position 1 = 25
Branch analysis from position: 25
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 22
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 16
Branch analysis from position: 17
Branch analysis from position: 9
filename:       /in/ucO9f
function name:  (null)
number of ops:  26
compiled vars:  !0 = $suburb, !1 = $latitude, !2 = $longitude, !3 = $address
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, <true>
    6     1        ASSIGN                                                   !1, <true>
    7     2        ASSIGN                                                   !2, <true>
    9     3        ISSET_ISEMPTY_CV                                 ~7      !3
          4        BOOL_NOT                                         ~8      ~7
          5      > JMPZ_EX                                          ~8      ~8, ->9
          6    >   ISSET_ISEMPTY_CV                                 ~9      !0
          7        BOOL_NOT                                         ~10     ~9
          8        BOOL                                             ~8      ~10
          9    > > JMPNZ_EX                                         ~8      ~8, ->17
         10    >   ISSET_ISEMPTY_CV                                 ~11     !1
         11        BOOL_NOT                                         ~12     ~11
         12      > JMPZ_EX                                          ~12     ~12, ->16
         13    >   ISSET_ISEMPTY_CV                                 ~13     !2
         14        BOOL_NOT                                         ~14     ~13
         15        BOOL                                             ~12     ~14
         16    >   BOOL                                             ~8      ~12
         17    > > JMPZ                                                     ~8, ->22
   10    18    >   INIT_FCALL                                               'var_dump'
         19        SEND_VAL                                                 'NOTHING'
         20        DO_ICALL                                                 
         21      > JMP                                                      ->25
   12    22    >   INIT_FCALL                                               'var_dump'
         23        SEND_VAL                                                 'ELSE'
         24        DO_ICALL                                                 
   13    25    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.44 ms | 1396 KiB | 15 Q