Tools Tags
directory
Tools Tags
Functions available in PHP
PHP available functions
PHP provides many available standard functions. The following table lists some commonly used ones:
| Function | Description |
| boolval | Get the Boolean value of the variable |
debug_zval_dump | View the reference count and type information of a variable in the zend engine |
| doubleval | Alias for floatval |
empty | Check a variable Whether it is empty |
floatval | Get the floating point value of the variable |
get_defined_vars | Returns an array composed of all defined variables |
get_resource_type | Return resource type |
| ##gettype | Get the type of variable|
| import_request_variables | Import GET/POST/Cookie variables into the global scope|
| intval | Get the integer value of the variable |
| ##is_array | Detect whether the variable is an array|
| is_bool | Detect whether the variable is Boolean|
| is_callable
| Check whether the parameter is a legal callable structure|
| is_double | is_float’s alias|
| is_float | Detect whether the variable is a floating point type|
| is_int | Check whether the variable is an integer|
| is_integer | alias of is_int|
| is_iterable | Detect whether the content of the variable is an iterable value|
| is_long | alias of is_int|
| is_null | Detect whether the variable is NULL|
| is_numeric | Detect whether the variable is a number or a numeric string|
| is_object | Detect whether the variable is an object |
is_real | is_float’s alias |
is_resource | Detect whether the variable is a resource type |
is_scalar | Detect whether the variable is a scalar |
is_string | Detect whether the variable is a string |
isset | Detect whether the variable has been set and is not NULL |
print_r | Print variables and output easy-to-read information. |
serialize | Serialize object |
settype | Set the type of variable |
strval | Get the string value of the variable |
unserialize | Create a PHP value from a stored representation |
unset | Release the given variable |
| ##var_dump | Print the relevant information of the variable|
| var_export | Output or return a variable, expressed in string form
Password hashing algorithm
| Description | |
| Returns information related to the specified hash (hash) | |
| Create a password Hash | |
| Check whether the hash value matches the specified option | |
| Verify whether the password matches the hash value |
Hot AI Tools
Undress images for free
Online AI tool for removing clothes from photos.
AI-powered app for creating realistic nude photos
AI image generator for creative art from text prompts.
AI powered investment research for smarter decisions
Hot Article
Hot Topics
20449
7
13592
4
Popular tool
Easy-to-use and free code editor
Chinese version, very easy to use
Powerful PHP integrated development environment
Visual web development tools
God-level code editing software (SublimeText3)












![Getting Started with PHP Practical Development: PHP Quick Creation [Small Business Forum]](https://img.php.cn/upload/course/000/000/035/5d27fb58823dc974.jpg)