As of PHP 5.2, strval() will return the string value of an object, calling its __toString() method to determine what that value is.
As of PHP 5.2, strval() will return the string value of an object, calling its __toString() method to determine what that value is.