filter_var_array()
Filter an existing array using rules keyed by field name.
CKTIS / PHP
Programming syntax, operators and concepts. Find an explanation, explore an example and return to learning.
Filter an existing array using rules keyed by field name.
Convert a value to floating point.
Use floor to round toward negative infinity, returning the greatest integral value no larger than the input as a float.
Inside a user function, func_get_args returns the current argument values in positional order, including modifications to bound parameters.
Test a function name case-insensitively against internal and user-defined functions currently available.
Given an object, get_class returns its actual class name, including the namespace and without a leading backslash.
Describe a value in diagnostic messages using PHP type spelling.
Read the historical type label used by PHP for diagnostics.
Compute the digest of the exact input bytes using the selected algorithm.
Compare two byte strings using a timing-safe equality check for equal-length inputs.
Authenticate message bytes with a secret key and a supported cryptographic hash algorithm.
Queue an HTTP response header before output is sent.
Test whether PHP has already committed the response headers.
Decode each pair of hexadecimal digits as one byte.
Measure intervals using a monotonic clock with an arbitrary origin.
Convert characters that have entities in the selected HTML document type to those entities.
Convert supported named and numeric HTML entities to characters.
Escape HTML-significant characters when inserting plain text into HTML.
Build a query from an array or public properties of an object.
Read the current response status or set a new one.
Join array values in iteration order with a separator and ignore their keys.
Check whether an array contains a value without searching its keys.
Use intdiv for an integer quotient truncated toward zero.
Convert an input to an integer, truncating a finite in-range float towards zero.