is_null

PHP 4 >= 4.0.4, PHP 5, PHP 7, PHP 8
is_null - Finds whether a variable is null
Manual
Code Examples

is_null( mixed$value ): bool

Finds whether the given variable is null.

Parameters

value

The variable being evaluated.

Return Values

Returns true if value is null, false otherwise.

Related Functions

Example of is_null

Show all examples for is_null

PHP Version:


Function is_null:

Variable handling Functions

Most used PHP functions