3v4l.org

run code in 300+ PHP versions simultaneously
<?php $where = array( 'user.is_removed' => 0, 'activation_code IS NULL' => NULL); if( true ) { $where = array_merge($where, array( '(user_role.role_id != 1 OR user_role.role_id IS NULL) AND (user_role.parent_role_id != 1 OR user_role.parent_role_id IS NULL)' => NULL )); } // Members should not be able to PM to observers as well if (true) { $where = array_merge($where, array( '(user_role.role_id != 3 OR user_role.parent_role_id != 3)' => null )); } var_dump($where);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 2, Position 2 = 7
Branch analysis from position: 2
2 jumps found. (Code = 43) Position 1 = 8, Position 2 = 13
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 13
Branch analysis from position: 7
filename:       /in/oJ4F5
function name:  (null)
number of ops:  17
compiled vars:  !0 = $where
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    7     1      > JMPZ                                                     <true>, ->7
    8     2    >   INIT_FCALL                                               'array_merge'
          3        SEND_VAR                                                 !0
    9     4        SEND_VAL                                                 <array>
          5        DO_ICALL                                         $2      
    8     6        ASSIGN                                                   !0, $2
   14     7    > > JMPZ                                                     <true>, ->13
   15     8    >   INIT_FCALL                                               'array_merge'
          9        SEND_VAR                                                 !0
   16    10        SEND_VAL                                                 <array>
         11        DO_ICALL                                         $4      
   15    12        ASSIGN                                                   !0, $4
   20    13    >   INIT_FCALL                                               'var_dump'
         14        SEND_VAR                                                 !0
         15        DO_ICALL                                                 
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.46 ms | 1395 KiB | 17 Q