Function: string_empty()

function string_empty(?string $text): bool;

Checks whether the text is an empty string.

Parameters

Name Pass type Value type Default value Description
$text by value ?string

The text to be checked.

Returns

bool

Returns true if the string is an empty string.

Authors

Oleg Schildt

Package

Source code