Supported Versions: PHP 4 >= 4.2.0, PHP 5, PHP 7, PHP 8
Changes the case of all keys in an array
<?php array_change_key_case(array $array, int $case = CASE_LOWER): array
<?php public function register()
{
$this->targetFunctions = \array_change_key_case($this->targetFunctions, \CASE_LOWER);
return [\T_STRING];
}
<?php public function register()
{
$this->newClasses = \array_change_key_case($this->newClasses, \CASE_LOWER);
$this->newExceptions = \array_change_key_case($this->newExceptions, \CASE_LOWER);
<?php {
$this->newClasses = \array_change_key_case($this->newClasses, \CASE_LOWER);
$this->newExceptions = \array_change_key_case($this->newExceptions, \CASE_LOWER);
$this->newClasses = \array_merge($this->newClasses, $this->newExceptions);
<?php public function register()
{
$this->removedClasses = \array_change_key_case($this->removedClasses, \CASE_LOWER);
$this->removedExceptions = \array_change_key_case($this->removedExceptions, \CASE_LOWER);
<?php {
$this->removedClasses = \array_change_key_case($this->removedClasses, \CASE_LOWER);
$this->removedExceptions = \array_change_key_case($this->removedExceptions, \CASE_LOWER);
$this->removedClasses = \array_merge($this->removedClasses, $this->removedExceptions);
<?php public function register()
{
$this->removedExtensions = \array_change_key_case($this->removedExtensions, \CASE_LOWER);
return [\T_STRING];
}
<?php public function register()
{
$this->newFunctionParameters = \array_change_key_case($this->newFunctionParameters, \CASE_LOWER);
return [\T_STRING];
}
<?php public function register()
{
$this->newFunctions = \array_change_key_case($this->newFunctions, \CASE_LOWER);
return [\T_STRING];
}
<?php public function register()
{
$this->removedFunctionParameters = \array_change_key_case($this->removedFunctionParameters, \CASE_LOWER);
return [\T_STRING];
}
<?php public function register()
{
$this->removedFunctions = \array_change_key_case($this->removedFunctions, \CASE_LOWER);
return [\T_STRING];
}
<?php public function register()
{
$this->internalInterfaces = \array_change_key_case($this->internalInterfaces, \CASE_LOWER);
return [
\T_CLASS,
<?php public function register()
{
$this->newInterfaces = \array_change_key_case($this->newInterfaces, \CASE_LOWER);
$this->unsupportedMethods = \array_change_key_case($this->unsupportedMethods, \CASE_LOWER);
$targets = [
<?php {
$this->newInterfaces = \array_change_key_case($this->newInterfaces, \CASE_LOWER);
$this->unsupportedMethods = \array_change_key_case($this->unsupportedMethods, \CASE_LOWER);
$targets = [
\T_CLASS,