Function __global->is_ascii_string

Definitions

sources/global3.php

  • Find if we a string is ASCII, and hence we can use non-UTF-safe functions on it.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: bool

Parameters

Name Type Default Set Range Description
$x string required parameter N/A N/A String to test

Return

  • Whether it is ASCII
  • Type: boolean
  • Set: N/A
  • Range: N/A