elseif/else if
elseif, as its name suggests, is a combination of if and else. Like else, it extends an if statement to execute a different statement in
elseif, as its name suggests, is a combination of if and else. Like else, it extends an if statement to execute a different statement in
Often you’d want to execute a statement if a certain condition is met, and a different statement if the condition is not met. This is
The if construct is one of the most important features of many languages, PHP included. It allows for conditional execution of code fragments. PHP features
instanceof is used to determine whether a PHP variable is an instantiated object of a certain class: Example #1 Using instanceof with classes <?php class
<- Scroll Horizontal disponible en esta tabla -> Array Operators Example Name Result $a + $b Union Union of $a and $b. $a == $b
There are two string operators. The first is the concatenation operator (‘.’), which returns the concatenation of its right and left arguments. The second is
PHP supports one execution operator: backticks («). Note that these are not single-quotes! PHP will attempt to execute the contents of the backticks as a
PHP supports one error control operator: the at sign (@). When prepended to an expression in PHP, any error messages that might be generated by
Comparison operators, as their name implies, allow you to compare two values. You may also be interested in viewing the type comparison tables, as they
Bitwise operators allow evaluation and manipulation of specific bits within an integer. <- Scroll Horizontal disponible en esta tabla -> Bitwise Operators Example Name Result