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 chunk_split Function | Split String to Chunks

PHP chunk_split is an inbuilt function in PHP. It splits the input string into smaller chunks of the specified length. In this article, we will discuss the PHP chunk_split Function. Also, we will discuss a few examples of using it. Syntax string chunk_split($string, $length = 76, $end = "\r\n") Parameters ...
Read More

PHP Multidimensional Arrays

Multidimensional Arrays in PHP are a type of arrays which store another array in each index rather than a single element. In other words, it is an array of arrays. Therefore, every element of the array may contain an element or another sub-array and so on. Also, we require more ...
Read More

PHP strrchr | Find Last Occurrence of Character in String

PHP strrchr is an inbuilt function in PHP. It finds the last occurrence of a character in a string and returns all characters till the end of the string. In this article, we will discuss PHP strrchr Function. Also, we will discuss a few examples of using it. You can ...
Read More

PHP Destructors | Destroy a Class Object

Destructors are inverse of Constructors in Object Oriented Programming. They are automatically called when an object is no longer in scope. In this article, we will discuss about PHP Destructors. If you are new to Object Oriented Programming in PHP, you should first read the Introduction article. Class Destructors A ...
Read More

PHP str_replace Function | Replace String with Another

PHP str_replace Function is an inbuilt function in PHP. It replaces all the occurrences of a string or an array of string in another string or an array of string respectively. In this article, we will discuss the PHP str_replace Function. Also, we will discuss a few examples of using ...
Read More

PHP strchr | Find First Occurrence of String in String

PHP strchr is an inbuilt function in PHP. It finds the first occurrence of a string in another string. Also, it returns the rest of the string after the first occurrence. In this article, we will discuss the PHP strchr Function. Note: This function is an alias of PHP strstr ...
Read More

PHP chop | Remove Characters from End of String

PHP chop is an inbuilt function in PHP. It removes whitespaces (or other characters) from the end of a string. In this article, we will discuss the PHP chop Function. Also, this function is an alias of PHP rtrim Function. Related Articles: PHP trim Function: Remove Characters from both Left ...
Read More

PHP rtrim | Remove Characters from End of String

PHP rtrim is an inbuilt function in PHP. It removes whitespaces (or other characters) from the end of a string. In this article, we will discuss the PHP rtrim Function. Also, we will discuss a few examples of using it. Related Articles: PHP trim Function: Remove Characters from both Left ...
Read More

PHP ltrim | Remove Characters from Beginning of String

PHP ltrim is an inbuilt function in PHP. It removes whitespaces (or other characters) from the beginning of a string. In this article, we will discuss the PHP ltrim Function. Also, we will discuss a few examples of using it. Related Articles PHP trim Function: Remove Characters from both Left ...
Read More

PHP trim | Remove Characters from Both Sides of String

PHP trim is an inbuilt function in PHP. It removes whitespaces (or other characters) from both the left and right sides of a string. In this article, we will discuss the PHP trim Function. Also, we will discuss a few examples of using it. To remove characters only from left ...
Read More

View All Articles >