Function __global->setlocale

Definitions

sources_custom/phpstub.php

  • Set locale information.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: N/A

Parameters

Name Type Default Set Range Description
$category integer required parameter N/A N/A The locale category (LC_ALL, LC_COLLATE, LC_CTYPE, LC_MONETARY, LC_NUMERIC, LC_TIME)
$locale mixed required parameter N/A N/A The locale (Some PHP versions require an array, and some a string with multiple calls)

Return

  • The set locale (false: error)
  • Type: ~string
  • Set: N/A
  • Range: N/A