hphp_to_string

Casts a given value to a string

function hphp_to_string(
  mixed $v,
): string;

Parameters

  • mixed $v - The value being casted to a string.

Returns

  • string - - The result of the string cast.