protected function stringsMatch(array $strings, $pos)
	{
		$value = $strings[0][$pos];
		foreach ($strings as $string)
		{
			if (!isset($string[$pos]) || $string[$pos] !== $value)
			{
				return false;
			}
		}

		return true;
	}
protected function stringsMatch(array $strings, $pos)
	{
		$value = $strings[0][$pos];
		foreach ($strings as $string)
		{
			if (!isset($string[$pos]) || $string[$pos] !== $value)
			{
				return false;
			}
		}

		return true;
	}
protected function stringsMatch ( array $ strings , $ pos ) { $ value = $ strings [ 0 ] [ $ pos ] ; foreach ( $ strings as $ string ) { if ( ! isset ( $ string [ $ pos ] ) || $ string [ $ pos ] !== $ value ) { return false ; } } return true ; }
Test whether all given strings' elements match at given position

@param  array[] $strings
@param  integer $pos
@return bool
Test whether all given strings elements match at given position