PHP 8.2.31
Preview: ReservedKeywordAnalyzer.php Size: 408 B
/opt/cpanel/ea-wappspector/vendor/rector/rector/src/Php/ReservedKeywordAnalyzer.php

<?php

declare (strict_types=1);
namespace Rector\Php;

final class ReservedKeywordAnalyzer
{
    /**
     * @var string[]
     */
    private const NATIVE_VARIABLE_NAMES = ['_ENV', '_POST', '_GET', '_COOKIE', '_SERVER', '_FILES', '_REQUEST', '_SESSION', 'GLOBALS'];
    public function isNativeVariable(string $name) : bool
    {
        return \in_array($name, self::NATIVE_VARIABLE_NAMES, \true);
    }
}

Directory Contents

Dirs: 1 × Files: 3

Name Size Perms Modified Actions
- drwxr-xr-x 2024-11-08 13:59:10
Edit Download
3.22 KB lrw-r--r-- 2024-11-08 13:59:10
Edit Download
1.78 KB lrw-r--r-- 2024-11-08 13:59:10
Edit Download
408 B lrw-r--r-- 2024-11-08 13:59:10
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).