Casting php
Casting or type casting is a process to convert a data type into another data type. PHP allows to convert…
Casting or type casting is a process to convert a data type into another data type. PHP allows to convert…
Strings in PHP is a combination or sequence of characters, numbers and special symbols. In PHP, strings can be represented…
PHP data type allows to store different kind of data into a variable and specifies what type of operation can…
In PHP, magic constants are pre-defined, and used according to its value. These values cannot be changed, can only be…
In PHP, echo or print is used for output on screen. echo print Returns no value Returns 1 Can be…
In PHP, Comments are not executed or skipped, it allows to document the source code or program, so that code…
Variable Constant $(dollar sign) is mandatory before variable name while declaring. No need of $ sign to declare constant Variables…
Constants in PHP, are the values which cannot be changed, once assigned, during program execution. In PHP, constants can be…
In PHP, scope of a variable, tells where a variable can be accessed(used) or not. On scope basis, PHP has…
A variable is used to store data and allows different operations to perform. PHP is a loosely typed or dynamic…