Boolean contains TRUE or FALSE value, which is specificly used in if statements that is one of the baces in control structure.
Boolean provides constants that are TRUE and FALSE
Interpreting other Types as Booleans
doubles are floating point-numbers
I wil exmaple a double
$My_double = 385.874;
$My_double2 = 1.5;
$My_double3 = 0.556;
$My_double4 = 9.0;
$My_double5 = 0.00003;
when doubles are having a rounded number it will not save it as an integer, and will...
Integer types are simple, the contain the simple positive and negetive numbers and they can both assigned directly or bypassign an expression to a variable
$sample number = 8496-48683
yo can also assigne other integer...
There are totally eight type is PHP;integeres, double, Booleans, strings, arrays, object, NULL and resources
here is to have a summary of all of these variables that PHP contains
Integers are the whole numbers without a...
PHP offers constants which their value will not be reassigned regardless of ehat variables do so their value will be consistent.
Constants definitions: Constants do not have $ before their name and by convention they...
if you are in a state to restore a variable to its unassigned state you can use unset() Function
this will make the $assigned_var variabel to the default value of which type it can hold...