The IntlChar getPropertyValueEnum() function is an inbuilt function in PHP which is used to get the property value form the given value.
int IntlChar::getPropertyValueEnum( $property, $name )
Parameters: This function accepts two parameters as mentioned above and described below:
- $property: It stores the IntlChar::PROPERTY_* constants.
- $name: It stores the name value which to be stored.
Return Value: If the given name does not match to any property or the property is invalid then it returns the corresponding value integer, or IntlChar::PROPERTY_INVALID_CODE.
Below programs illustrate the IntlChar::getPropertyValueEnum() function in PHP:
bool(true) bool(true) bool(true) bool(false)
Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.