Inactive Tutor answered 05/12/19
Tutor
New to Wyzant
You can use type casting instead.
eg. $myText = (string)$myVar;
OR
You can use strval method to get string value of a variable
eg $myText = strval($myVar);