PHP

What is PHP?

PHP is a server-side language used to develop dynamic websites and web applications. It stands for Hypertext Pre-Processor. It is easy to learn and runs efficiently on all lots of servers used today (Apache, IIS, etc.). Also, it supports a large number of databases.

Topics

What is Object Oriented Programming? Object-oriented programming concept is a programming concept in which all properties and behavior of entities are grouped into a single entity called a class. This style is considered much more advanced and efficient than the Procedure style of programming ...
Read More
PHP array Functions
PHP Array Functions The PHP Array Functions allow you to manipulate and access Arrays. PHP supports a lot of inbuilt functions which are very helpful. They support single and multi-dimensional arrays. These functions are a part of PHP core and there is no ...
Read More

View All Articles >

Recent Articles

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 ...
Read More

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 ...
Read More

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 ...
Read More

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, ...
Read More

PHP urldecode Function | URL-Decode a String

PHP urldecode is an inbuilt function in PHP. It decodes a URL-encoded string back to a normal plain text string. In this article, we will discuss the PHP urldecode Function. Also, we will discuss a few examples of using it. In order to encode a string to make it convenient ...
Read More

PHP urlencode Function | URL-Encode a String

PHP urlencode is an inbuilt function in PHP. It encodes a string so as to make it convenient to pass them as query parameters in the URL. The string consists of all non-alphanumeric characters except -, _ and . by replacing them with % sign followed by two hex digits ...
Read More

PHP quotemeta Function | Quote Meta Characters

The PHP quotemeta is an inbuilt function in PHP. It accepts a string as an input and returns a string with a backslash in front of some characters. In this article, we will discuss the PHP quotemeta Function. Also, we will discuss a few examples of using it. The pre-defined ...
Read More

PHP strip_tags Function | Remove HTML Tags from String

PHP strip_tags is an inbuilt function in PHP. It removes all HTML, PHP tags and NULL bytes from a string after processing. It returns the same string after removing HTML and PHP tags. In this article, we will discuss the PHP strip_tags Function. Also, we will discuss a few examples ...
Read More

PHP hash Function | Generate a Hash Value

PHP hash is an inbuilt function in PHP. It generates a hash value of the input string using the algorithm of your choice. In this article, we will discuss the PHP hash Function. Also, we will discuss a few examples of using it. Syntax string hash($algo, $string, $getRawOutput = false) ...
Read More

PHP md5 Function | Generate MD5 Hash of String

PHP md5 is an inbuilt function in PHP. It returns the MD5 Hash of the string after hashing it with the RSA Data Security, Inc. MD5 Message-Digest Algorithm. Hashing a string is very important to store critical data in a database like for storing user's passwords. In this article, we ...
Read More

View All Articles >