Function __global->cleanup_mobile_number

Definitions

sources/sms.php

  • Prepare a phone number for use with the SMS gateway.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: string

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$number string No No required parameter N/A N/A The number

Returns

  • Cleaned number
  • Type: string
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Prepare a phone number for use with the SMS gateway.
 *
 * @param  string $number The number
 * @return string Cleaned number
 */

function cleanup_mobile_number(string $number) : string