original_string: public function arrays_same_at_key_integer(
              array $array1, array $array2, $key) {
          if (array_key_exists($key, $array1)) {
              $value1 = $array1[$key];
          } else {
              $value1 = '';
          }
          if (array_key_exists($key, $array2)) {
              $value2 = $array2[$key];
          } else {
              $value2 = '';
          }
          $coords1 = explode(';', $value1);
          $coords2 = explode(';', $value2);
          if (count($coords1) !== count($coords2)) {
              return false;
          } else if (count($coords1) === 0) {
              return true;
          } else {
              $valuesinbotharrays = $this->array_intersect_fixed($coords1, $coords2);
              return (count($valuesinbotharrays) == count($coords1));
          }
      }
code: public function arrays_same_at_key_integer(
              array $array1, array $array2, $key) {
          if (array_key_exists($key, $array1)) {
              $value1 = $array1[$key];
          } else {
              $value1 = '';
          }
          if (array_key_exists($key, $array2)) {
              $value2 = $array2[$key];
          } else {
              $value2 = '';
          }
          $coords1 = explode(';', $value1);
          $coords2 = explode(';', $value2);
          if (count($coords1) !== count($coords2)) {
              return false;
          } else if (count($coords1) === 0) {
              return true;
          } else {
              $valuesinbotharrays = $this->array_intersect_fixed($coords1, $coords2);
              return (count($valuesinbotharrays) == count($coords1));
          }
      }
code_tokens: public function arrays_same_at_key_integer ( array $ array1 , array $ array2 , $ key ) { if ( array_key_exists ( $ key , $ array1 ) ) { $ value1 = $ array1 [ $ key ] ; } else { $ value1 = '' ; } if ( array_key_exists ( $ key , $ array2 ) ) { $ value2 = $ array2 [ $ key ] ; } else { $ value2 = '' ; } $ coords1 = explode ( ';' , $ value1 ) ; $ coords2 = explode ( ';' , $ value2 ) ; if ( count ( $ coords1 ) !== count ( $ coords2 ) ) { return false ; } else if ( count ( $ coords1 ) === 0 ) { return true ; } else { $ valuesinbotharrays = $ this -> array_intersect_fixed ( $ coords1 , $ coords2 ) ; return ( count ( $ valuesinbotharrays ) == count ( $ coords1 ) ) ; } }
docstring: Tests to see whether two arrays have the same set of coords at a particular key. Coords
  can be in any order.
  @param array $array1 the first array.
  @param array $array2 the second array.
  @param string $key an array key.
  @return bool whether the two arrays have the same set of coords (or lack of them)
  for a given key.
docstring_tokens: Tests to see whether two arrays have the same set of coords at a particular key . Coords can be in any order .