PHPize Online / SQLize Online
A A A

Donate Popular

is_null

Tags: PHP 5.x PHP 7.x PHP 8.x

is_null — Finds whether a variable is null.

Description

is_null(
    mixed $value
): bool
Finds whether the given variable is null.

Parameters

value
The variable to check.

Return Values

Returns true if value is null, false otherwise.