Function __global->base64url_decode

Definitions

sources/global3.php

  • Decode a URL-safe base64 encoded 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
$data LONG_TEXT No No required parameter N/A N/A The data to decode

Returns

  • The decoded data
  • Type: string
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Decode a URL-safe base64 encoded string.
 *
 * @param  LONG_TEXT $data The data to decode
 * @return string The decoded data
 */

function base64url_decode(string $data) : string