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

PHP Functions

A function is a block of code that can perform a specific task when called. PHP provides two major types of functions: built-in and user-defined. They are useful as they help in carrying out repetitive tasks without repeating the code. In this article, we will discuss Functions in PHP. Also, we will discuss various examples… Read more PHP Functions