Skip to content

Tag Archives: PHP-basics

$this is a reserved keyword in PHP that refers to the calling object. It is usually the object to which the method belongs, but possibly… Read More
Predefined exceptions are available in PHP for more efficient exception handling but prerequisite to this article is learning exception handling https://www.geeksforgeeks.org/exception-handling-in-php/   Exception: This feature… Read More
There are classes and interfaces that can be either user defined or pre-defines in PHP language.  There are 9 predefined classes and interfaces in PHP:… Read More
An ampersand just before the function name will return a reference to the variable instead of returning its value. Returning by reference is useful when… Read More
The default parameter concept comes from C++ style default argument values, same as in PHP you can provide default parameters so that when a parameter… Read More
If-else and Switch cases are used to evaluate conditions and decide the flow of a program. The ternary operator is a shortcut operator used for… Read More
In PHP, there is an inbuilt function called ‘phpinfo’. By using this function, we can output all the Loaded Modules and see the ‘mod_rewrite’ is… Read More
Web Scraping is a technique used to extract large amounts of data from websites extracted and saved to a local file in your computer or… Read More
PHP Multidimensional array is used to store an array in contrast to constant values. Associative array stores the data in the form of key and… Read More
Form is an HTML element used to collect information from the user in a sequential and organized manner. This information can be sent to the… Read More
The require_once() function is an inbuilt function in PHP which is useful in case if we want to include a PHP file in another one… Read More
While making a web application with PHP, we often need to print or echo few results in form of HTML. We can do this task… Read More
The break and continue both are used to skip the iteration of a loop. These keywords are helpful in controlling the flow of the program.… Read More
In social networking websites like Facebook, Instagram, etc, the username and profile picture of the user that has logged in gets displayed in the header… Read More
When we do projects then it includes multiple modules where each module divided into multiple files and each file containing many lines of code. So… Read More

Start Your Coding Journey Now!