IntlChar::isgraph
(PHP 7)
IntlChar::isgraph — Check if code point is a graphic character
Описание
Determines whether the specified code point is a "graphic" character (printable, excluding spaces).
TRUE
for all characters except those with general categories "Cc" (control codes), "Cf" (format controls), "Cs" (surrogates), "Cn" (unassigned), and "Z" (separators).
Список параметров
Возвращаемые значения
Returns TRUE
if
codepoint
is a "graphic" character, FALSE
if not.
Примеры
Пример #1 Testing different code points
<?php
var_dump(IntlChar::isgraph("A"));
var_dump(IntlChar::isgraph("1"));
var_dump(IntlChar::isgraph("\u{2603}"));
var_dump(IntlChar::isgraph("\n"));
?>
Результат выполнения данного примера:
bool(true) bool(true) bool(true) bool(false)
- PHP Руководство
- Функции по категориям
- Индекс функций
- Справочник функций
- Поддержка языков и кодировок
- Internationalization Functions
- IntlChar::charAge
- IntlChar::charDigitValue
- IntlChar::charDirection
- IntlChar::charFromName
- IntlChar::charMirror
- IntlChar::charName
- IntlChar::charType
- IntlChar::chr
- IntlChar::digit
- IntlChar::enumCharNames
- IntlChar::enumCharTypes
- IntlChar::foldCase
- IntlChar::forDigit
- IntlChar::getBidiPairedBracket
- IntlChar::getBlockCode
- IntlChar::getCombiningClass
- IntlChar::getFC_NFKC_Closure
- IntlChar::getIntPropertyMaxValue
- IntlChar::getIntPropertyMinValue
- IntlChar::getIntPropertyValue
- IntlChar::getNumericValue
- IntlChar::getPropertyEnum
- IntlChar::getPropertyName
- IntlChar::getPropertyValueEnum
- IntlChar::getPropertyValueName
- IntlChar::getUnicodeVersion
- IntlChar::hasBinaryProperty
- IntlChar::isalnum
- IntlChar::isalpha
- IntlChar::isbase
- IntlChar::isblank
- IntlChar::iscntrl
- IntlChar::isdefined
- IntlChar::isdigit
- IntlChar::isgraph
- IntlChar::isIDIgnorable
- IntlChar::isIDPart
- IntlChar::isIDStart
- IntlChar::isISOControl
- IntlChar::isJavaIDPart
- IntlChar::isJavaIDStart
- IntlChar::isJavaSpaceChar
- IntlChar::islower
- IntlChar::isMirrored
- IntlChar::isprint
- IntlChar::ispunct
- IntlChar::isspace
- IntlChar::istitle
- IntlChar::isUAlphabetic
- IntlChar::isULowercase
- IntlChar::isupper
- IntlChar::isUUppercase
- IntlChar::isUWhiteSpace
- IntlChar::isWhitespace
- IntlChar::isxdigit
- IntlChar::ord
- IntlChar::tolower
- IntlChar::totitle
- IntlChar::toupper
Коментарии
404 Not Found