Преобразовать значение значения массива в строку php

//Convert Array Value To String
$payPrice = (string)$_SESSION['payPrice'];
Amin Arjmand