title: PHP compare array values if have same string
body: <p>I've a situation with two array. I want to compare a string in to array only if <strong>status => active</strong>  in two array show member if status is not active one from array ignore member.</p>
  
  <pre><code>$args_1 = array(
                  **'status' =&gt; 'active',** // only if also active in $args_2
                  'number' =&gt; 'all',
                  'object_id' =&gt; array(2)
              );
              $args_2 = array(
                  **'status' =&gt; 'active',** // only if also active in $args_1
                  'number' =&gt; 'all',
                  'object_id' =&gt; array(3)
              );
  $member  = et_member( $args_1, $args_2 );       
              // User Loop
              if ( ! empty( $member ) ) {
  ...........
  </code></pre>
  
  <p>Just for share: I've tried with</p>
  
  <pre><code>if(isset($args_1['status']) &amp;&amp; $args_2['status'] == 'active') // but doesn't work
  </code></pre>
  
  <p>Thanks,</p>