original_string: public static function haveSameKeys(array $array1, array $array2)
      {
          return self::hasAllKeys($array1, array_keys($array2)) && self::hasAllKeys($array2, array_keys($array1)) ? true : false;
      }
code: public static function haveSameKeys(array $array1, array $array2)
      {
          return self::hasAllKeys($array1, array_keys($array2)) && self::hasAllKeys($array2, array_keys($array1)) ? true : false;
      }
code_tokens: public static function haveSameKeys ( array $ array1 , array $ array2 ) { return self :: hasAllKeys ( $ array1 , array_keys ( $ array2 ) ) && self :: hasAllKeys ( $ array2 , array_keys ( $ array1 ) ) ? true : false ; }
docstring: Checks if two arrays have all equal keys
  
  @param array $array1
  @param array $array2
  
  @return boolean
docstring_tokens: Checks if two arrays have all equal keys