Sep
17
2010
mhash_count()
 
mhash_count

(PHP 3>= 3.0.9, PHP 4, PHP 5)

mhash_count - получает наивысший доступный hash id.

Описание

int mhash_count (void)

mhash_count() возвращает наивысший доступный id хэша. Хэши нумеруются от 0 до этого hash id.

Пример 1. Проход по всем хэшам

<?php

$nr = mhash_count();

for ($i = 0; $i <= $nr; $i++) {
echo sprintf ("The blocksize of %s is %d\n", 
mhash_get_hash_name ($i),
mhash_get_block_size ($i));
}
?>

 
 
Комментарии
Добавить новый Поиск
Оставить комментарий
Имя:
Email:
 
Веб-сайт:
Тема:
UBB-Код:
[b] [i] [u] [url] [quote] [code] [img] 
 
 
:angry::0:confused::cheer:B):evil::silly::dry::lol::kiss::D:pinch:
:(:shock::X:side::):P:unsure::woohoo::huh::whistle:;):s
:!::?::idea::arrow:
 
Пожалуйста, введите проверочный код, который Вы видите на картинке.
Powered by !JoomlaComment 3.26

3.26 Copyright (C) 2008 Compojoom.com / Copyright (C) 2007 Alain Georgette / Copyright (C) 2006 Frantisek Hliva. All rights reserved."

 

Кто онлайн

Сейчас 12 гостей онлайн