title: how to capture returned values from php function parameter?
body: <p>I am working with a wordpress plugin <a href="https://docs.gravityforms.com/gform_field_validation/" rel="nofollow noreferrer">Gravity Forms</a>.</p>
  
  <p>The parameter <code>$value</code> <code>var_dump</code> result using <code>gform_field_validation</code> filter returns is  this...</p>
  
  <pre><code>string(4) "2434"
  string(8) "Fantasma"
  string(8) "fantasma"
  string(13) "buzzlightyear"
  array(1) {
    ["11.1"]=&gt;
    string(0) ""
  }
  array(1) {
    ["15.1"]=&gt;
    string(1) "1"
  }
  string(2) "10"
  </code></pre>
  
  <p>I'm trying to capture the first <code>string(4) "2434"</code> but I have no idea how to target this.</p>
  
  <p>Is there some php magic that can allow me to target this first string?</p>
  
  <p>I know it's utter filth but Gravity Forms has left me choice to get this integer using their <a href="https://docs.gravityforms.com/gform_field_validation/" rel="nofollow noreferrer">gform_field_validation</a> filter.</p>
  
  <p>Any ideas or thoughts would be much appreciated.</p>