Answers with complete solution
Integral numbers are internally converted into what?
bits
What is the symbol for the bitwise AND?
&
What is the symbol for the bitwise OR?
|
What is the symbol for the bitwise XOR?
^
What is the criteria for the bitwise AND?
Matching "1" in both operands.
What is the criteria for the bitwise OR?
At least one "1" in an operand
What is the criteria for the bitwise XOR?
True only if operands are different
What is the symbol to NEGATE BITS?
~
What symbol is used to shift bits?
<< or >>
<?= is short for what?
<?php echo
Value equality operator (PHP handles data type conversion) "123" === 123
==
Value inequality operator (PHP handles data type conversion) "123" != 124
!=
Value/type equality operator (Compares values with a type check) 123 === 123
===
Value/type inequality operator (Compares values with a type check) "123" !== 123
!==
Array UNION operator
+
Array EQUAL operator
==
Array IDENTICAL operator
===
Array NOT EQUAL operator
!=
Array NOT EQUAL operator
<>
Array NOT IDENTICAL operator
!==
Logical operator: $a and $b
BOTH $a AND $b TRUE
, Logical operator: $a or $b
EITHER $a OR $b TRUE
Logical operator: $a xor $b
EITHER $a,$b TRUE; NOT BOTH
Logical operator: ! $a
$a NOT TRUE
Logical operator: $a && $b
BOTH $aAND $bTRUE
Logical operator: $a || $b
EITHER $a OR $b TRUE
Logical operator: $a ^ $b
EITHER $a,$b TRUE; NOT BOTH
EXECUTION OPERATORS USE _______________ TO EXECUTE THE CONTENTS
ENCLOSED BY THEM AS A SHELL COMMAND, EQUIVALENT TO shell_exec()
``
Variables are case sensitive (true or false)
true
Variables are not case sensitive (true or false)
false
Variables can be assigned by value or by reference (true or false)
true
Variables can only be assigned by value (true or false)
false
Variables can only be assigned by reference (true or false)
false
The ______ symbol creates a reference, or alias, and causes both the original
variable and alias to point to the same memory value.
&
VARIABLE TYPING IS SET AUTOMATICALLY BY THE PHP PARSER AND CALLED
TYPE JUGGLING/COERCION
INITIALIZING VARIABLES EMPTY IS A GOOD PRACTICE (true or false)
true
THE FUNCTION ____________ RETURNS A BOOLEAN ON A PASSED VARIABLE
CONTAINING A VALUE OTHER THAN NULL STRING, NULL, OR ZERO
isset()
TERNARY OPERATOR, SHORT FORM
SHORTHAND ASSIGNMENT FORM: RAISES AN E_NOTICE IF NO VALUE AND
THEREFORE NOT RECOMMENDED
$FOO = <EXPRESSION> ?: <VALUE IF FALSE>;
SPACESHIP OPERATOR, SHORT FORM
RETURNS 1 IF A > B, -1 IF B > A, 0 IF A == B
A <=> B
Used to output a scalar value
print()
Used to evaluate the contents of a string as PHP code
eval()