protected function hasMatchingSuffix(array $strings)
	{
		$suffix = end($strings[1]);
		foreach ($strings as $string)
		{
			if (end($string) !== $suffix)
			{
				return false;
			}
		}

		return ($suffix !== false);
	}
protected function hasMatchingSuffix(array $strings)
	{
		$suffix = end($strings[1]);
		foreach ($strings as $string)
		{
			if (end($string) !== $suffix)
			{
				return false;
			}
		}

		return ($suffix !== false);
	}
protected function hasMatchingSuffix ( array $ strings ) { $ suffix = end ( $ strings [ 1 ] ) ; foreach ( $ strings as $ string ) { if ( end ( $ string ) !== $ suffix ) { return false ; } } return ( $ suffix !== false ) ; }
Test whether all given strings have the same last element

@param  array[] $strings
@return bool
Test whether all given strings have the same last element