Category: php

Strings PHP

Strings in PHP is a combination or sequence of characters, numbers and special symbols. In PHP, strings can be represented…

Data types PHP

PHP data type allows to store different kind of data into a variable and specifies what type of operation can…

Magic constants PHP

In PHP, magic constants are pre-defined, and used according to its value. These values cannot be changed, can only be…

echo and print PHP

In PHP, echo or print is used for output on screen. echo print Returns no value Returns 1 Can be…

PHP Comments

In PHP, Comments are not executed or skipped, it allows to document the source code or program, so that code…

PHP Constants

Constants in PHP, are the values which cannot be changed, once assigned, during program execution. In PHP, constants can be…

Variable scope PHP

In PHP, scope of a variable, tells where a variable can be accessed(used) or not. On scope basis, PHP has…

PHP Variables

A variable is used to store data and allows different operations to perform. PHP is a loosely typed or dynamic…

PHP Syntax

PHP script starts with <?php and ends with ?>, between PHP code is used to add program logic. <?php or…