is_string

is_string

(PHP 3, PHP 4, PHP 5)

is_string -- Finds whether a variable is a string

Description

bool is_string ( mixed var )

Finds whether the given variable is a string.

Parameters

var

The variable being evaluated.

Return Values

Returns TRUE if var is a string, FALSE otherwise.

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.