Function __global->strval

Definitions

sources_custom/phpstub.php

  • Get string value of a variable.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: string

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$var mixed No No required parameter N/A N/A The variable

Returns

  • String value of the variable
  • Type: string
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Get string value of a variable.
 *
 * @param  mixed $var The variable
 * @return string String value of the variable
 */

function strval($var) : string