PHP Operators

Operators perform operations on the variables. Operators are symbols that tell the PHP compiler to perform specific actions. In this unit, we study how to perform the operations on the variables using operators in PHP. Read Also: PHP Constants Operators in PHP Operators are the symbol that tells the processor to perform some actions. For example, […]

PHP Constants

PHP constants are similar like 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 after once being created and assigned a value. They remain constant across the entire program. It […]

PHP Data Types

For constructing variables, PHP supports various data types. A Data type is an attribute of data which tells the compiler how the programmer uses the data. 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 […]

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 This article will help you to understand how to use echo and print statements in PHP to display the output in a web browser. In PHP, two […]

PHP Variables

PHP also has variables and constants, just like other programming languages. Variable is the storage space where we can store the values. All variables in PHP start with a $ (dollar) sign, followed by the name of the variable. This article explains to us how to use the PHP variables in the source code. What […]