3v4l.org

run code in 300+ PHP versions simultaneously
<?php define("EFFECTIVE DATE", ''); if (empty(EFFECTIVEDATE)) {echo '01/06/2014';} else {echo EFFECTIVEDATE;} ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 9
Branch analysis from position: 7
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/m6BIg
function name:  (null)
number of ops:  12
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'define'
          1        SEND_VAL                                                 'EFFECTIVE+DATE'
          2        SEND_VAL                                                 ''
          3        DO_ICALL                                                 
    3     4        FETCH_CONSTANT                                   ~1      'EFFECTIVEDATE'
          5        BOOL_NOT                                         ~2      ~1
          6      > JMPZ                                                     ~2, ->9
          7    >   ECHO                                                     '01%2F06%2F2014'
          8      > JMP                                                      ->11
    4     9    >   FETCH_CONSTANT                                   ~3      'EFFECTIVEDATE'
         10        ECHO                                                     ~3
    5    11    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.86 ms | 1394 KiB | 15 Q