Topics in PHP Tutorial

PHP Operators

Operators perform operations on the values stored in the variables. Operators are symbols that tell the PHP compiler to perform specific actions. This module will dive deep into how to perform the operations on the variables using operators in PHP. Read Also: PHP Constants Operators in PHP Operators are constructs that behave like functions and […]

PHP Constants

PHP constants are similar to constant variables in other programming languages. A PHP constant holds a fixed value, which cannot be updated after declaration. PHP Constants PHP Constants are similar to the variables, and they cannot be changed or redefined once they have been created and assigned values. They remain constant across the entire program. It […]

PHP Data Types

For constructing variables, PHP supports various data types. PHP Data Types This article is all about the PHP Datatypes. Data types represent the type of data associated with PHP variables. PHP supports eight primitive data types that are divide into three types. Scalar Data types Compound Data Types Special Data Types Read Also: PHP Variables […]

PHP Echo/Print

Echo and print are both used to print the output data on the screen. The print statement is used as an alternative to echo many times. PHP Echo/Print Statement Even though echo and print statements serve the same purpose, there are certain differences between them. In this article, the reader will be able to demarcate […]

PHP Variables

Just like other programming languages, PHP has variables and constants. A variable is a storage space paired with an associated symbolic name that stores a particular value. All PHP variables start with the $ (dollar) sign, followed by the name of the variable. This article explains the usage of variables in a block of PHP […]