3v4l.org

run code in 500+ PHP versions simultaneously
<?php //$justEnabled = !$isActiveBefore && $entity->isActive(); //if (!$justEnabled) { // return; //} $isActiveBefore = true; $entityIsActive = false; $justEnabled = !$isActiveBefore && $entityIsActive; var_dump(!$justEnabled); if (!$justEnabled) { return; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 4, Position 2 = 5
Branch analysis from position: 4
2 jumps found. (Code = 43) Position 1 = 12, Position 2 = 13
Branch analysis from position: 12
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: 5
filename:       /in/ABuFv
function name:  (null)
number of ops:  14
compiled vars:  !0 = $isActiveBefore, !1 = $entityIsActive, !2 = $justEnabled
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    8     0  E >   ASSIGN                                                       !0, <true>
    9     1        ASSIGN                                                       !1, <false>
   11     2        BOOL_NOT                                             ~5      !0
          3      > JMPZ_EX                                              ~5      ~5, ->5
          4    >   BOOL                                                 ~5      !1
          5    >   ASSIGN                                                       !2, ~5
   12     6        INIT_FCALL                                                   'var_dump'
          7        BOOL_NOT                                             ~7      !2
          8        SEND_VAL                                                     ~7
          9        DO_ICALL                                                     
   13    10        BOOL_NOT                                             ~9      !2
         11      > JMPZ                                                         ~9, ->13
   14    12    > > RETURN                                                       null
   15    13    > > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
165.61 ms | 1386 KiB | 14 Q