Skip to content

Tag Archives: PHP-basics

PHP is a general-purpose scripting language that is especially used in web development. It was created in 1994 by Rasmus Lerdorf. It is used to… Read More
In PHP, $var is used to store the value of the variable like Integer, String, boolean, character. $var is a variable and $$var stores the… Read More
In this article, we have submitted a form using JavaScript by clicking a link. In the body tag, created an HTML form and specify the… Read More
A “union type” accepts values of multiple different data types, rather than a single one. If the programming language supports union types, you can declare… Read More
Constructor Property Promotion is a simple shorthand syntax to declare and assign class properties from the constructor. Constructor Property Promotion is a new syntax provided… Read More
In this article, we will use PHP in HTML. There are various methods to integrate PHP and HTML, some of them are discussed below. You… Read More
We can show all errors in PHP using the error_reporting() function. It sets the error_reporting directive at runtime according to the level provided. If no… Read More
You can start and stop a timer in PHP using the microtime() function in PHP. The microtime() function is an inbuilt function in PHP which… Read More
There are many types of line-ending characters that are used in PHP. They differ depending upon the operating system and editors using them. It’s also… Read More
The full form of PHP is a Hypertext preprocessor. It was developed by Rasmus Lerdorf. It is a programming language for developing dynamic web applications… Read More
The const keyword is used to declare a class constant. A constant is unchangeable once it is declared. The constant class declared inside the class… Read More
In this article, we have to pass a comment for PHP code by using some simple basic syntax. Comments are helpful to understand the complex… Read More
1. C++ : C++ was developed by Bjarne Stroustrup at Bell Labs since 1979 as an extension of the C language C++ is a general… Read More
Covariance: In PHP, the return type of method which belongs to the child can be more specific compared to the return type of method of… Read More
$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

Start Your Coding Journey Now!