array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'it', ), 'this' => array ( 0 => 'intlchar.isulowercase.php', 1 => 'IntlChar::isULowercase', 2 => 'Check if code point has the Lowercase Unicode property', ), 'up' => array ( 0 => 'class.intlchar.php', 1 => 'IntlChar', ), 'prev' => array ( 0 => 'intlchar.isualphabetic.php', 1 => 'IntlChar::isUAlphabetic', ), 'next' => array ( 0 => 'intlchar.isupper.php', 1 => 'IntlChar::isupper', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/intl/intlchar/isulowercase.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

IntlChar::isULowercase

(PHP 7, PHP 8)

IntlChar::isULowercaseCheck if code point has the Lowercase Unicode property

Descrizione

public static IntlChar::isULowercase(int|string $codepoint): ?bool

Check if a code point has the Lowercase Unicode property.

This is the same as IntlChar::hasBinaryProperty($codepoint, IntlChar::PROPERTY_LOWERCASE)

Nota:

This is different than IntlChar::islower() and will return true for more characters.

Elenco dei parametri

codepoint

The int codepoint value (e.g. 0x2603 for U+2603 SNOWMAN), or the character encoded as a UTF-8 string (e.g. "\u{2603}")

Valori restituiti

Returns true if codepoint has the Lowercase Unicode property, false if not. Returns null on failure.

Esempi

Example #1 Testing different code points

<?php
var_dump
(IntlChar::isULowercase("A"));
var_dump(IntlChar::isULowercase("a"));
var_dump(IntlChar::isULowercase("Φ"));
var_dump(IntlChar::isULowercase("φ"));
var_dump(IntlChar::isULowercase("1"));
?>

Il precedente esempio visualizzerà:

bool(false)
bool(true)
bool(false)
bool(true)
bool(false)

Vedere anche: