PHPize Online / SQLize Online  /  SQLtest Online

A A A
Share      Blog   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.

is_null - New snippets