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

is_array()

Check whether a container is a native PHP array.

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

is_bool()

Validate a strictly boolean flag without casting it.

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

is_callable()

Check whether a value can be called from the current scope.

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

is_countable()

Check whether count can accept the value.

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

is_float()

Identify a floating-point value without numeric coercion.

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

is_int()

Check for an actual integer when validating an index.

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

is_iterable()

Identify arrays and objects implementing Traversable before passing data to an iterable parameter.

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

is_null()

Test whether a supplied value is exactly null.

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

is_numeric()

Recognize numbers and numeric strings before numeric processing.

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

is_object()

Check for any object, including a closure or stdClass.

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

is_resource()

Test whether an extension handle is currently an open resource.

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

is_scalar()

Accept values of type bool, int, float or string.

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

is_string()

Check for a native string even when it is empty, binary or contains digits only.

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

iterator_apply()

Invoke a callback while advancing a traversable object.

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

iterator_count()

Count every element in a traversal.

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

iterator_to_array()

Materialize the traversal in an array.

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

join()

This alias of implode places a separator only between successive values.

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

json_decode()

Parse UTF-8 JSON into PHP values.

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

json_encode()

Serialize a PHP value as UTF-8 JSON.

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

json_validate()

Check JSON syntax without materializing a PHP value, available since PHP 8.3.

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

key()

Read the current array key without moving the internal pointer.

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

krsort()

Order a map by descending key in place, leaving the value associated with each key.

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

ksort()

Put a map in ascending key order in place for a repeatable traversal.

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

lcfirst()

Lowercase the first byte if it is an ASCII uppercase letter and leave the rest unchanged.

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