PHP substr_count Function | Count of Occurrences of Substring

PHP substr_count is an inbuilt String Function in PHP. It calculates the number of occurrences of a substring in another string. Also, the function provides an option to search the substring within a range in the string. In this article, we will discuss the PHP substr_count Function. Also, we will discuss a few examples of… Read more PHP substr_count Function | Count of Occurrences of Substring

PHP str_rot13 Function | rot13 Transform on a String

PHP str_rot13 is an inbuilt string function in PHP. It performs ROT13 transformation on a string by excluding numeric and non-alphanumeric characters. Also, if you input an encoded string, the function returns the original string back. In this article, we will discuss the PHP str_rot13 Function. Also, we will discuss a few examples of using… Read more PHP str_rot13 Function | rot13 Transform on a String

PHP hex2bin Function | Convert Hexadecimal to Binary String

PHP hex2bin is an inbuilt function in PHP. It converts a hexadecimal character sequence back to a binary string. However, it does not convert the hexadecimal string to binary number. In this article, we will discuss the PHP hex2bin Function. Also, we will discuss a few examples of using it. Also, in order to convert… Read more PHP hex2bin Function | Convert Hexadecimal to Binary String

PHP bin2hex Function | Convert String to Hexadecimal

PHP bin2hex is an inbuilt function in PHP. It converts strings to hexadecimal values byte-wise with the high-nibble first. However, it does not convert strings representing binary digits to hexadecimal. In this article, we will discuss the PHP bin2hex Function. Also, we will discuss a few examples of using it. Also, for converting a hexadecimal… Read more PHP bin2hex Function | Convert String to Hexadecimal