Knowledge baseExam Center
ENEnglish
Choose language13

CKTIS / PHP

Knowledge base — PHP

Programming syntax, operators and concepts. Find an explanation, explore an example and return to learning.

Entries: 504

PHP

Bitwise complement (~)

Complement each bit of a single operand.

Intermediate · PHP 8.4; repository runtime, production runtime not attested
PHP

Bitwise OR (|)

Combine two flag sets while retaining every set bit.

Basic · PHP 8.4; repository runtime, production runtime not attested
PHP

Bitwise OR with assignment (|=)

Enable the flags selected by the right mask in the variable.

Basic · PHP 8.4; repository runtime, production runtime not attested
PHP

Bitwise XOR (^)

Find the positions where two masks differ in bit value.

Basic · PHP 8.4; repository runtime, production runtime not attested
PHP

String concatenation (.)

Build an identifier from a prefix and a number.

Basic · PHP 8.4; repository runtime, production runtime not attested
PHP

Conditional selection (?:)

Choose one of two expressions according to the boolean value of the condition.

Intermediate · PHP 8.4; repository runtime, production runtime not attested
PHP

Decrement (--)

Subtract one from an integer counter.

Intermediate · PHP 8.4; repository runtime, production runtime not attested
PHP

Quotient (/)

Divide the total cost by the number of units to get a unit price.

Basic · PHP 8.4; repository runtime, production runtime not attested
PHP

Quotient with assignment (/=)

Divide the current batch size by a factor and replace it with the quotient.

Basic · PHP 8.4; repository runtime, production runtime not attested
PHP

Equality with type conversion (==)

Test whether two values are equal under PHP’s conversion rules. A numeric string can match a number despite leading zeros.

Basic · PHP 8.4; repository runtime, production runtime not attested
PHP

Error control (@)

Suppress ordinary diagnostics generated while evaluating an expression.

Intermediate · PHP 8.4; repository runtime, production runtime not attested
PHP

Exponentiation (**)

Raise a base to an exponent to calculate geometric growth.

Basic · PHP 8.4; repository runtime, production runtime not attested
PHP

Greater than or equal to (>=)

Check whether an order reaches the minimum quantity. The result is true even when the quantity exactly equals the minimum.

Basic · PHP 8.4; repository runtime, production runtime not attested
PHP

Greater than (>)

Signal a limit overrun when the left value is greater than the right. A value exactly at the limit does not trigger the alarm.

Basic · PHP 8.4; repository runtime, production runtime not attested
PHP

Increment (++)

Add one to an integer counter.

Intermediate · PHP 8.4; repository runtime, production runtime not attested
PHP

Inequality with type conversion (!=)

The condition is true when the values compare unequal after loose comparison. A difference in type alone cannot identify a changed product code.

Basic · PHP 8.4; repository runtime, production runtime not attested
PHP

Object type check (instanceof)

Test whether an object belongs to a class or one of its subclasses, or implements an interface.

Intermediate · PHP 8.4; repository runtime, production runtime not attested
PHP

Left shift (<<)

Move a bit field toward more significant positions.

Basic · PHP 8.4; repository runtime, production runtime not attested
PHP

Left shift with assignment (<<=)

Store the left-shifted bits to make room for another field.

Basic · PHP 8.4; repository runtime, production runtime not attested
PHP

Less than or equal to (<=)

Accept a load whose weight does not exceed capacity. A load exactly at capacity satisfies the condition.

Basic · PHP 8.4; repository runtime, production runtime not attested
PHP

Less than (<)

Check a list index against its element count. With zero-based indexing an index equal to the length is already past the last element.

Basic · PHP 8.4; repository runtime, production runtime not attested