php array->string string strval ( mixed $var ) <?php $foo = strval(123); var_dump($foo); ?> string(3) "123"