- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Urmila Samariya has Published 141 Articles
![Urmila Samariya](https://www.tutorialspoint.com/assets/profiles/317041/profile/60_178965-1617360206.jpg)
Urmila Samariya
176 Views
The mb_strrpos() function in PHP is used to find the position of the last occurrence of a string in another string. This function performs the multibyte safe strrpos() operation based on the number of characters. It counts the needle position from the starting of the haystack string.Syntaxint mb_strrpos( ... Read More
![Urmila Samariya](https://www.tutorialspoint.com/assets/profiles/317041/profile/60_178965-1617360206.jpg)
Urmila Samariya
103 Views
The mb_stristr() function in PHP is used to search the first existence of a string in another given string; this function is not case-sensitive. mb_stristr() searches for the first existence of the needle in a given haystack string and returns the portion of the haystack. It will return False if ... Read More
![Urmila Samariya](https://www.tutorialspoint.com/assets/profiles/317041/profile/60_178965-1617360206.jpg)
Urmila Samariya
317 Views
The mb_stripos() function in PHP is used to find the position of first occurrence of a string within another string. It is "case-insensitive". mbstripos() returns the numeric position of the first existence of the needle in a given haystack string. If the needle is not found, it will return False.Syntaxinteger ... Read More
![Urmila Samariya](https://www.tutorialspoint.com/assets/profiles/317041/profile/60_178965-1617360206.jpg)
Urmila Samariya
95 Views
The mb_strrchr() function in PHP checks the last occurrence of a character in a given string within another string. For example, suppose we have a string "ia" and we need to check it from another given string "PHP tutorials", then the mb_strrchr() function will return the portion of characters till ... Read More
![Urmila Samariya](https://www.tutorialspoint.com/assets/profiles/317041/profile/60_178965-1617360206.jpg)
Urmila Samariya
638 Views
The mb_strimwidth() function in PHP is used to truncate a given string with specified width. It is used to cut out the specified width from a given string.Syntaxstring mb_strimwidth($str_string, $int_start, $int_width, $str_trim_marker, $str_encoding)For example, mb_strimwidth($str_string: "PHP Tutorials", $int_start: 2, $int_width: 10, $str_trim_marker: "...", ); Parametersmb_strimwidth() accepts five different parameters to ... Read More
![Urmila Samariya](https://www.tutorialspoint.com/assets/profiles/317041/profile/60_178965-1617360206.jpg)
Urmila Samariya
310 Views
The mb_split() function in PHP is used to split a multibyte string using regular expressions. It returns the results in an array format.Syntaxarray mb_split($str_pattern, $str_string, int $limit=-1)Parametersmb_split() accepts the following three parameters −$str_pattern − It is used for the regular expression's pattern.$str_string − It is used to split the string.$limit ... Read More
![Urmila Samariya](https://www.tutorialspoint.com/assets/profiles/317041/profile/60_178965-1617360206.jpg)
Urmila Samariya
53 Views
The mb_preferred_mime_name() function in PHP is used to return the MIME string for the character encoding and it returns the charset string. It gets a MIME (Multipurpose Internet Mail Extensions) charset string for the specific encoding.Syntaxstring mb_preferred_mime_name($string_encoding)Parametersmb_preferred_mime_name() accepts only one parameter −$string_encoding − This parameter is used to check the ... Read More
![Urmila Samariya](https://www.tutorialspoint.com/assets/profiles/317041/profile/60_178965-1617360206.jpg)
Urmila Samariya
498 Views
The mb_parse_str() function in PHP is used to parse the GET, POST, and COOKIE data and it sets the global variable. It parses the URL encoded data and detects the encoding. After that, it converts the coding in the internal encoding and sets values for the global variables. This function ... Read More
![Urmila Samariya](https://www.tutorialspoint.com/assets/profiles/317041/profile/60_178965-1617360206.jpg)
Urmila Samariya
2K+ Views
In PHP, we can use the mb_ord() function to get the Unicode code point value of a given character. This function is supported in PHP 7 or higher versions. The mb_ord() function complements the mc_chr() function.Syntaxint mb_ord($str_string, $str_encoding)Parametersmb_ord() accepts the following two parameters −$str_string − This parameter is used for ... Read More
![Urmila Samariya](https://www.tutorialspoint.com/assets/profiles/317041/profile/60_178965-1617360206.jpg)
Urmila Samariya
206 Views
The mb_list_encodings() function in PHP is used to return an array of all supported encodings. This function is supported in PHP 5 or higher version.Syntaxarray mb_list_encodings()Parametersmb_list_encodings() takes no parameters.Return ValuesThis function returns a numerically indexed array.Errors/Exceptionsmb_list_encodings() does not produce any errors.Examplemb_list_encodings() does not produce any errors.OutputIt will produce the following ... Read More