protected function getPrefixLength(array $strings)
	{
		$len = 1;
		$cnt = count($strings[0]);
		while ($len < $cnt && $this->stringsMatch($strings, $len))
		{
			++$len;
		}

		return $len;
	}
protected function getPrefixLength(array $strings)
	{
		$len = 1;
		$cnt = count($strings[0]);
		while ($len < $cnt && $this->stringsMatch($strings, $len))
		{
			++$len;
		}

		return $len;
	}
protected function getPrefixLength ( array $ strings ) { $ len = 1 ; $ cnt = count ( $ strings [ 0 ] ) ; while ( $ len < $ cnt && $ this -> stringsMatch ( $ strings , $ len ) ) { ++ $ len ; } return $ len ; }
Get the number of leading elements common to all given strings

@param  array[] $strings
@return integer
Get the number of leading elements common to all given strings