Sunday, May 10, 2026
HomeLanguagesPHP | IntlChar getIntPropertyMinValue() Function

PHP | IntlChar getIntPropertyMinValue() Function

The IntlChar::getIntPropertyMinValue() function is an inbuilt function in PHP which is used to get the minimum value for a Unicode property. This could be used to access the information as well as manipulating the Unicode characters. For an enumerated/integer/binary Unicode property, this is going to get the minimum value.

Syntax:

int IntlChar::getIntPropertyMinValue( $property )

Parameters: This function accepts single parameter $property which is used for the task of lookups, based on the Unicode property. It is quite similar to the IntlChar::PROPERTY_* constants.

Return Values: For a Unicode property, it is the maximum value that is going to be returned by the IntlChar::getIntPropertyValue() function. It will return 0 if the selector of the property is considerably out of the range.

Below program illustrates the IntlChar::getIntPropertyMinValue() function in PHP:

Program:




<?php
  
// PHP program to uses IntlChar::getIntPropertyMinValue()
// function
  
// This function uses IntlChar::PROPERTY_* constants
var_dump(IntlChar::getIntPropertyMinValue
                    (IntlChar::CHAR_CATEGORY_ENCLOSING_MARK));
                      
var_dump(IntlChar::getIntPropertyMinValue
                            (IntlChar::BLOCK_CODE_BENGALI));
                              
var_dump(IntlChar::getIntPropertyMinValue
                (IntlChar::PROPERTY_GRAPHEME_CLUSTER_BREAK));
                  
var_dump(IntlChar::getIntPropertyMinValue
                    (IntlChar::CHAR_CATEGORY_MODIFIER_SYMBOL));
                      
var_dump(IntlChar::getIntPropertyMinValue
                                        (IntlChar::NT_DIGIT));
                                          
var_dump(IntlChar::getIntPropertyMinValue
                (IntlChar::LB_CONDITIONAL_JAPANESE_STARTER));
                  
var_dump(IntlChar::getIntPropertyMinValue(49)); 
  
?>


Output:

int(0)
int(0)
int(0)
int(0)
int(0)
int(0)
int(0)

Reference: https://www.php.net/manual/en/intlchar.getintpropertyminvalue.php

RELATED ARTICLES

Most Popular

Dominic
32514 POSTS0 COMMENTS
Milvus
131 POSTS0 COMMENTS
Nango Kala
6892 POSTS0 COMMENTS
Nicole Veronica
12012 POSTS0 COMMENTS
Nokonwaba Nkukhwana
12107 POSTS0 COMMENTS
Shaida Kate Naidoo
7016 POSTS0 COMMENTS
Ted Musemwa
7262 POSTS0 COMMENTS
Thapelo Manthata
6975 POSTS0 COMMENTS
Umr Jansen
6963 POSTS0 COMMENTS