settype
unserialize
Variable handling Функции
PHP Manual

# strval

(PHP 4, PHP 5)

strval — Get string value of a variable

### Описание

string strval ( mixed `$var` )

Get the string value of a variable. See the documentation on string for more information on converting to string.

### Список параметров

`var`

  The variable that is being converted to a string.

  `var` may be any scalar type. You cannot use strval() on arrays or objects.

### Возвращаемые значения

The string value of `var` .

### Смотрите также

- floatval()
- intval()
- settype()
- Type juggling

settype
unserialize
Variable handling Функции
PHP Manual