[ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Source view] [Print] [Project Stats]
Input validation utilities.
File Size: | 109 lines (3 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
is_string_or_stringable($input) X-Ref |
Verify that a received input parameter is of type string or is "stringable". return: bool param: mixed $input Input parameter to verify. |
is_numeric_array_key($input) X-Ref |
Verify whether a received input parameter is usable as an integer array key. return: bool param: mixed $input Input parameter to verify. |
is_stringable_object($input) X-Ref |
Verify whether a received input parameter is "stringable". return: bool param: mixed $input Input parameter to verify. |
has_array_access($input) X-Ref |
Verify whether a received input parameter is _accessible as if it were an array_. return: bool param: mixed $input Input parameter to verify. |
is_iterable($input) X-Ref |
Verify whether a received input parameter is "iterable". return: bool param: mixed $input Input parameter to verify. |
is_curl_handle($input) X-Ref |
Verify whether a received input parameter is a Curl handle. The PHP Curl extension worked with resources prior to PHP 8.0 and with an instance of the `CurlHandle` class since PHP 8.0. {@link https://www.php.net/manual/en/migration80.incompatible.php#migration80.incompatible.resource2object} return: bool param: mixed $input Input parameter to verify. |
Generated : Sun Dec 22 08:20:01 2024 | Cross-referenced by PHPXref |