Function __global->strrev

Definitions

sources_custom/phpstub.php

  • Reverse a string.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: string

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$string string No No required parameter N/A N/A String to reverse

Returns

  • Reversed string
  • Type: string
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Reverse a string.
 *
 * @param  string $string String to reverse
 * @return string Reversed string
 */

function strrev(string $string) : string