Function __global->get_software_keys_telemetry

Definitions

sources/telemetry.php

  • Get the software keys for telemetry use.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: array

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$version ?float No No Null N/A N/A The major.minor version number of which to get the keys (null: get the distributed public key for this version)

Returns

  • A double; the public key and the private key (private key will be null if $version is null)
  • Type: array
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Get the software keys for telemetry use.
 *
 * @param  ?float $version The major.minor version number of which to get the keys (null: get the distributed public key for this version)
 * @return array A double; the public key and the private key (private key will be null if $version is null)
 */

function get_software_keys_telemetry(?float $version = null) : array