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

preg_replace_callback()

Build the replacement for each match by returning a string from a callback.

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

preg_split()

Split text at regular-expression matches.

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

prev()

Move the internal array pointer back one element before reading it.

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

printf()

Send formatted text directly to output and return its byte count.

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

print_r()

Display array keys, values and nested structure for inspection.

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

property_exists()

Detect a declared property, even when private, uninitialized, or set to null.

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

random_bytes()

Generate the requested number of cryptographically secure random bytes.

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

random_int()

Draw a uniformly distributed, cryptographically secure integer from the inclusive interval.

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

range()

Create an ascending or descending sequence as an array.

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

rawurldecode()

Replace percent-encoded byte pairs with their original bytes in a URL component.

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

rawurlencode()

Encode bytes for one RFC 3986 URL component.

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

reset()

Rewind the internal array pointer and return the first value in its current order.

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

round()

Use round to produce a float at the requested decimal precision.

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

rsort()

Sort values from high to low in place and assign new integer keys from zero.

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

rtrim()

Strip trailing bytes from a character set, stopping at the first other byte.

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

serialize()

Encode a PHP value into a binary-safe string retaining types and array keys.

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

session_destroy()

Destroy the stored data associated with the active session and report success.

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

session_regenerate_id()

Assign a new identifier to an active session while preserving its current session variables.

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

session_start()

Start or resume a session, invoking its storage handler to populate $_SESSION.

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

setcookie()

Queue a Set-Cookie response field before headers are sent.

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

settype()

Convert the variable in place using the named target type.

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

shuffle()

Make a random permutation of the array values in place, assigning fresh zero-based keys.

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

sizeof()

This alias of count measures the number of elements or the count supplied by a Countable object.

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

sort()

Sort values from low to high in place, discarding all original keys.

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