Types, Variables & Operators

Recent Tutorial

PHP Variable Interpolation

April 20, 2013
Variable interpolation is adding variables in between a string data. PHP will parse the interpolated variables and replace the variable with its value while processing the string data. The variable parsing is allowed with the string data enclosed with double quotes or with heredocs. Since, the variable interpolation will not be effective with the single quoted […]
This tutorial was added to PHP.

PHP Data Type Conversion

April 14, 2013
Datatype conversion is the process of changing the type of the variable from one datatype to another. PHP provides various datatypes and the type conversion can be performed in various methods. Since, PHP is a loosly typed language, it allows variable declaration without specifying its datatype. The datatype of a variable will be the type of […]
This tutorial was added to PHP.

PHP Variable Scope

April 12, 2013
Variable scope is known as its boundary within which it can be visible or accessed from code. In other words, it is the context within which a variable is defined. There are only two scopes available in PHP namely local and global scopes. Local variables (local scope) Global variables (special global scope) Static variables (local scope) Function […]
This tutorial was added to PHP.

↑ Back to Top