Latest Tutorials

The execution operator in PHP (``)

The execution operator in PHP (``) is used to execute shell commands, or those commands that operate or can approach client's operating structures (i....

The increment and decrement operator in PHP (++,--)

As most of other operator groups in PHP, these increment and decrement operators are also self-explanatory;...

The logical operators in PHP (&&,||,and,or,xor,!)

The logical operators are used to evaluate Boolean result of two or more logical comparison. The conditional expressions sometimes may require a logical operator. The l...

The string operators in PHP (.,.=)

The string operators exist used to help the string manipulation. There are two string operators in PHP; the first one is used to concatenate two strings and is represented...

The array operators in PHP (+,==,===,!=,<>,!==)

The array operators are similar to comparison operators. That is they also use mo...

The type operator in PHP (instanceof)

The type operator is a special operator containining an operation used in class represented by instanceof....

The If - Else statement in PHP (if...else)

As with other programming languages, one of the most important features in controlling the code process flow is the IF - ELSE statement. The IF - ELSE is a construct which...

The SWITCH - CASE - DEFAULT statement in PHP (switch...case...default)

The SWITCH - CASE - DEFAULT statement is very helpful in case when a script contains multiple conditions to be observed and resolved. This statement starts with a single state...

The WHILE statement in PHP (while)

The while statement is used in a while loop in cases when there is a need to repeat the code over and over again till main condition is met. The code inside the...

The DO - WHILE statement in PHP (do...while)

The do...while statement is very similar to the while statement except th...