PHP function strval()

Availability in PHP 4.0

Get string value of a variable

Parameters

Parameter Data type Default value Note
$var mixed not The variable that is being converted to a string.

Return values

string

The string value of var.

Other resources

Official strval documentation

Newsletter

Nejlepsi tipy a triky o PHP do Vaseho e-mailu. Clanky a novinky nejen ze sveta PHP a programovani.