3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.92 ms | 1394 KiB | 17 Q