 |
 |
 |
 |
Warning: include(../levoe_menu.php) [ function.include]: failed to open stream: No such file or directory in /var/www/prime/data/www/prime-speed.ru/Manual_PHP_4/f/ord.html on line 46
Warning: include() [ function.include]: Failed opening '../levoe_menu.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/prime/data/www/prime-speed.ru/Manual_PHP_4/f/ord.html on line 46
|
 |
 |
 |
 | |
|  |
(PHP 3, PHP 4)
ord - возвращает ASCII-значение символа. Описаниеint ord (string string)
Возвращает ASCII-значение первого символа строки string. Эта функция дополняет
chr().
Пример 1. ord()
if (ord($str) == 10) {
echo "The first character of \$str is a line feed.\n";
} |
|
Вы можете найти таблицу ASCII здесь:
http://www.mindspring.com/~jc1/serial/Resources/ASCII.html.
См. также chr(). |  | |
|
 |
 |
 |
 |
Warning: include(../pravoe_menu.php) [ function.include]: failed to open stream: No such file or directory in /var/www/prime/data/www/prime-speed.ru/Manual_PHP_4/f/ord.html on line 143
Warning: include() [ function.include]: Failed opening '../pravoe_menu.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/prime/data/www/prime-speed.ru/Manual_PHP_4/f/ord.html on line 143
|
 |
 |
 |
 | |