Name

strval

Synopsis

string strval(mixed value)

Returns the string equivalent for value. If value is a nonscalar value (object or array), the function returns an empty string.

Get Programming PHP, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.