original_string: protected function findInputValueByName( $name, $inputArray )
      {
          foreach($inputArray as $key=>$value){
              if($key === $name) { // use === because plain == allowed numeric indexes to be equal to names
                  return $value;
              }
              if (is_array($value)) {
                  if (($result = $this->findInputValueByName($name,$value)) !== false) {
                      return $result;
                  }
              }
          }
  
          return false;
      }
code: protected function findInputValueByName( $name, $inputArray )
      {
          foreach($inputArray as $key=>$value){
              if($key === $name) { // use === because plain == allowed numeric indexes to be equal to names
                  return $value;
              }
              if (is_array($value)) {
                  if (($result = $this->findInputValueByName($name,$value)) !== false) {
                      return $result;
                  }
              }
          }
  
          return false;
      }
code_tokens: protected function findInputValueByName ( $ name , $ inputArray ) { foreach ( $ inputArray as $ key => $ value ) { if ( $ key === $ name ) { // use === because plain == allowed numeric indexes to be equal to names return $ value ; } if ( is_array ( $ value ) ) { if ( ( $ result = $ this -> findInputValueByName ( $ name , $ value ) ) !== false ) { return $ result ; } } } return false ; }
docstring: search through entire input array for the value indicated by name.
  
  @param $name
  @param $inputArray
  @return bool
docstring_tokens: search through entire input array for the value indicated by name .