Function __global->is_alphanumeric

Definitions

sources/type_sanitisation.php

  • Find whether the specified string is alphanumeric or not.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: bool

Parameters

Name Type Default Set Range Description
$string string required parameter N/A N/A The string to test
$strict boolean False N/A N/A Whether to do stricter sanitisation, latin alphanumeric only and no dots

Return

  • Whether the string is alphanumeric or not
  • Type: boolean
  • Set: N/A
  • Range: N/A