3v4l.org

run code in 300+ PHP versions simultaneously
<?php if ($fecha == 'siempre' || !$fecha) { $extrawhere = array( "email[!]"=>null, "OR" => array( "estado" => array('A', 'N', 'D') ) ); } else { $extrawhere = array( "email[!]"=>null, "OR" => array( "estado" => array('A', 'N', 'D') ), "fecha_modificacion[>=]" => $fecha ); } print_r($extrawhere); ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 47) Position 1 = 2, Position 2 = 4
Branch analysis from position: 2
2 jumps found. (Code = 43) Position 1 = 5, Position 2 = 7
Branch analysis from position: 5
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: 7
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 4
filename:       /in/KnpSV
function name:  (null)
number of ops:  15
compiled vars:  !0 = $fecha, !1 = $extrawhere
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   IS_EQUAL                                         ~2      !0, 'siempre'
          1      > JMPNZ_EX                                         ~2      ~2, ->4
          2    >   BOOL_NOT                                         ~3      !0
          3        BOOL                                             ~2      ~3
          4    > > JMPZ                                                     ~2, ->7
    4     5    >   ASSIGN                                                   !1, <array>
          6      > JMP                                                      ->11
   12     7    >   INIT_ARRAY                                       ~5      null, 'email%5B%21%5D'
          8        ADD_ARRAY_ELEMENT                                ~5      <array>, 'OR'
   16     9        ADD_ARRAY_ELEMENT                                ~5      !0, 'fecha_modificacion%5B%3E%3D%5D'
   11    10        ASSIGN                                                   !1, ~5
   22    11    >   INIT_FCALL                                               'print_r'
         12        SEND_VAR                                                 !1
         13        DO_ICALL                                                 
   23    14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.71 ms | 1395 KiB | 15 Q