3v4l.org

run code in 300+ PHP versions simultaneously
<?php if(!isset($_REQUEST['fechaDesde']) || empty($_REQUEST['fechaDesde']) || !$_REQUEST['fechaDesde']){ $_REQUEST['fechaDesde'] = date('Y-m-d', strtotime('-15 day')); } $fechaDesde = ($_REQUEST['fechaDesde']) ? date('Y-m-d', $_REQUEST['fechaDesde']) : ''; echo $fechaDesde;
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 47) Position 1 = 4, Position 2 = 7
Branch analysis from position: 4
2 jumps found. (Code = 47) Position 1 = 8, Position 2 = 12
Branch analysis from position: 8
2 jumps found. (Code = 43) Position 1 = 13, Position 2 = 23
Branch analysis from position: 13
2 jumps found. (Code = 43) Position 1 = 26, Position 2 = 34
Branch analysis from position: 26
1 jumps found. (Code = 42) Position 1 = 35
Branch analysis from position: 35
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 34
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 23
Branch analysis from position: 12
Branch analysis from position: 7
filename:       /in/PBEJi
function name:  (null)
number of ops:  38
compiled vars:  !0 = $fechaDesde
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   FETCH_IS                                         ~1      '_REQUEST'
          1        ISSET_ISEMPTY_DIM_OBJ                         0  ~2      ~1, 'fechaDesde'
          2        BOOL_NOT                                         ~3      ~2
          3      > JMPNZ_EX                                         ~3      ~3, ->7
          4    >   FETCH_IS                                         ~4      '_REQUEST'
          5        ISSET_ISEMPTY_DIM_OBJ                         1  ~5      ~4, 'fechaDesde'
          6        BOOL                                             ~3      ~5
          7    > > JMPNZ_EX                                         ~3      ~3, ->12
          8    >   FETCH_R                      global              ~6      '_REQUEST'
          9        FETCH_DIM_R                                      ~7      ~6, 'fechaDesde'
         10        BOOL_NOT                                         ~8      ~7
         11        BOOL                                             ~3      ~8
         12    > > JMPZ                                                     ~3, ->23
    3    13    >   INIT_FCALL                                               'date'
         14        SEND_VAL                                                 'Y-m-d'
         15        INIT_FCALL                                               'strtotime'
         16        SEND_VAL                                                 '-15+day'
         17        DO_ICALL                                         $11     
         18        SEND_VAR                                                 $11
         19        DO_ICALL                                         $12     
         20        FETCH_W                      global              $9      '_REQUEST'
         21        ASSIGN_DIM                                               $9, 'fechaDesde'
         22        OP_DATA                                                  $12
    6    23    >   FETCH_R                      global              ~13     '_REQUEST'
         24        FETCH_DIM_R                                      ~14     ~13, 'fechaDesde'
         25      > JMPZ                                                     ~14, ->34
         26    >   INIT_FCALL                                               'date'
         27        SEND_VAL                                                 'Y-m-d'
         28        FETCH_R                      global              ~15     '_REQUEST'
         29        FETCH_DIM_R                                      ~16     ~15, 'fechaDesde'
         30        SEND_VAL                                                 ~16
         31        DO_ICALL                                         $17     
         32        QM_ASSIGN                                        ~18     $17
         33      > JMP                                                      ->35
         34    >   QM_ASSIGN                                        ~18     ''
         35    >   ASSIGN                                                   !0, ~18
    8    36        ECHO                                                     !0
         37      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.79 ms | 1392 KiB | 17 Q