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

filter_var_array()

Filter an existing array using rules keyed by field name.

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

floatval()

Convert a value to floating point.

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

floor()

Use floor to round toward negative infinity, returning the greatest integral value no larger than the input as a float.

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

func_get_args()

Inside a user function, func_get_args returns the current argument values in positional order, including modifications to bound parameters.

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

function_exists()

Test a function name case-insensitively against internal and user-defined functions currently available.

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

get_class()

Given an object, get_class returns its actual class name, including the namespace and without a leading backslash.

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

get_debug_type()

Describe a value in diagnostic messages using PHP type spelling.

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

gettype()

Read the historical type label used by PHP for diagnostics.

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

hash()

Compute the digest of the exact input bytes using the selected algorithm.

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

hash_equals()

Compare two byte strings using a timing-safe equality check for equal-length inputs.

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

hash_hmac()

Authenticate message bytes with a secret key and a supported cryptographic hash algorithm.

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

header()

Queue an HTTP response header before output is sent.

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

headers_sent()

Test whether PHP has already committed the response headers.

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

hex2bin()

Decode each pair of hexadecimal digits as one byte.

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

hrtime()

Measure intervals using a monotonic clock with an arbitrary origin.

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

htmlentities()

Convert characters that have entities in the selected HTML document type to those entities.

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

html_entity_decode()

Convert supported named and numeric HTML entities to characters.

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

htmlspecialchars()

Escape HTML-significant characters when inserting plain text into HTML.

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

http_build_query()

Build a query from an array or public properties of an object.

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

http_response_code()

Read the current response status or set a new one.

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

implode()

Join array values in iteration order with a separator and ignore their keys.

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

in_array()

Check whether an array contains a value without searching its keys.

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

intdiv()

Use intdiv for an integer quotient truncated toward zero.

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

intval()

Convert an input to an integer, truncating a finite in-range float towards zero.

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