title: How get data from function when use array inside
body: <p>I have simple question but i can´t get solution for this </p>
  
  <p>I have function and inside one array , in this array i have all values and if i don´t use the function works , i think about use global vars for extract but i can´t get fix this problem </p>
  
  <pre><code>function get_it($exp_value)
  {
  
  foreach($exp_value as $exp_values) {
  /// Array Values ///
              ${$exp_table[$j]}[]="".base64_decode($exp_values)."";
  ///
              /// this no works ///
              global ${$exp_table[$j]};
              ///
              $j++; 
          }
  
  }
  </code></pre>
  
  <p>The idea it´s use the function for example :</p>
  
  <pre><code>get_it($exp_value);
  </code></pre>
  
  <p>And get all values with simple arras as for example :</p>
  
  <pre><code>$data[0];$data[1];$data[2];
  </code></pre>
  
  <p>The problem it´s in the function the code no let me get out the values , i try use ´- as i put inside function - the var "global" , but no get finally results , if don´t use this code inside function works </p>
  
  <p>The Best regards </p>