Knowledge baseExam Center
ENEnglish
Choose language13

CKTIS / Knowledge base

Knowledge base

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

Entries: 5788

PHP

IteratorIterator

Adapt a Traversable source to the Iterator cursor interface.

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

JsonException

Catch failures from JSON operations using JSON_THROW_ON_ERROR.

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

JsonSerializable

Define the value that json_encode should serialize for an object.

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

LimitIterator

Expose a window of an Iterator by zero-based traversal position, preserving original keys.

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

LogicException

LogicException represents a defect in the program’s use of an object or an invariant violation.

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

MultipleIterator

Advance several iterators together in rows.

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

OutOfBoundsException

OutOfBoundsException extends RuntimeException for an invalid index or key.

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

RecursiveArrayIterator

Expose nested arrays through hasChildren and getChildren, one level at a time.

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

RecursiveIteratorIterator

Walk a RecursiveIterator tree without writing a recursive loop.

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

ReflectionClass

Inspect a class and create instances with constructor arguments. newInstanceArgs runs the constructor with the supplied arguments, while isInstantiable lets tools reject interfaces or abstract classes first.

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

ReflectionFunction

Inspect or invoke a named function or Closure.

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

ReflectionMethod

Inspect a method and invoke it on a compatible receiver.

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

ReflectionProperty

Read a property declaration and its value on an object.

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

RegexIterator

Select iterated values with a PCRE pattern.

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

RuntimeException

RuntimeException describes a failure discoverable only while the program runs, such as an unexpectedly exhausted input stream.

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

SplDoublyLinkedList

Maintain a list with insertion and removal at both ends. push and pop operate at the tail; unshift and shift operate at the head. bottom and top inspect the ends without removing them.

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

SplFixedArray

Allocate a fixed number of positions indexed from zero.

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

SplHeap

Extend the abstract heap and compare pairs to define priority.

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

SplMaxHeap

Keep the greatest value at the top under the default comparison.

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

SplMinHeap

Give the smallest value highest extraction priority.

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

SplObjectStorage

Associate data with object identities and keep a strong reference to each stored key.

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

SplPriorityQueue

Associate data with priorities and extract the highest-priority entry first. setExtractFlags chooses data, priority or both.

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

SplQueue

Process values in first-in, first-out order. enqueue adds at the tail and dequeue removes the head. bottom inspects the next item without consuming it.

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

SplStack

Process values in last-in, first-out order. push and pop use the same end, so the newest value is removed first. top inspects that value without changing the count.

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