[ 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". param: mixed $input Input parameter to verify. return: bool |
is_numeric_array_key($input) X-Ref |
Verify whether a received input parameter is usable as an integer array key. param: mixed $input Input parameter to verify. return: bool |
is_stringable_object($input) X-Ref |
Verify whether a received input parameter is "stringable". param: mixed $input Input parameter to verify. return: bool |
has_array_access($input) X-Ref |
Verify whether a received input parameter is _accessible as if it were an array_. param: mixed $input Input parameter to verify. return: bool |
is_iterable($input) X-Ref |
Verify whether a received input parameter is "iterable". param: mixed $input Input parameter to verify. return: bool |
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} param: mixed $input Input parameter to verify. return: bool |
Generated : Thu Nov 21 08:20:01 2024 | Cross-referenced by PHPXref |