private/Constants.ps1
New-Variable -Option Constant -Scope Script -Name 'URL_LIST_QA' -Value 'https://windows.php.net/downloads/qa/' New-Variable -Option Constant -Scope Script -Name 'URL_LIST_RELEASE' -Value 'https://windows.php.net/downloads/releases/' New-Variable -Option Constant -Scope Script -Name 'URL_LIST_ARCHIVE' -Value 'https://windows.php.net/downloads/releases/archives/' New-Variable -Option Constant -Scope Script -Name 'RELEASESTATE_UNKNOWN' -Value '' New-Variable -Option Constant -Scope Script -Name 'RELEASESTATE_QA' -Value 'QA' New-Variable -Option Constant -Scope Script -Name 'RELEASESTATE_RELEASE' -Value 'Release' New-Variable -Option Constant -Scope Script -Name 'RELEASESTATE_ARCHIVE' -Value 'Archive' New-Variable -Option Constant -Scope Script -Name 'ARCHITECTURE_32BITS' -Value 'x86' New-Variable -Option Constant -Scope Script -Name 'ARCHITECTURE_64BITS' -Value 'x64' New-Variable -Option Constant -Scope Script -Name 'RX_ZIPARCHIVE' -Value 'php-(\d+\.\d+\.\d+)(?:RC([1-9]\d*))?(-nts)?-Win32-VC(\d{1,2})-(x86|x64)\.zip' New-Variable -Option Constant -Scope Script -Name 'EXTENSIONSTATE_BUILTIN' -Value 'Builtin' New-Variable -Option Constant -Scope Script -Name 'EXTENSIONSTATE_UNKNOWN' -Value 'Unknown' New-Variable -Option Constant -Scope Script -Name 'EXTENSIONSTATE_ENABLED' -Value 'Enabled' New-Variable -Option Constant -Scope Script -Name 'EXTENSIONSTATE_DISABLED' -Value 'Disabled' New-Variable -Option Constant -Scope Script -Name 'EXTENSIONTYPE_BUILTIN' -Value 'Builtin' New-Variable -Option Constant -Scope Script -Name 'EXTENSIONTYPE_PHP' -Value 'Php' New-Variable -Option Constant -Scope Script -Name 'EXTENSIONTYPE_ZEND' -Value 'Zend' # [System.EnvironmentVariableTarget] May not exist New-Variable -Option Constant -Scope Script -Name 'ENVTARGET_PROCESS' -Value 'Process' New-Variable -Option Constant -Scope Script -Name 'ENVTARGET_USER' -Value 'User' New-Variable -Option Constant -Scope Script -Name 'ENVTARGET_MACHINE' -Value 'Machine' New-Variable -Option Constant -Scope Script -Name 'URL_PECLREST_1_0' -Value 'https://pecl.php.net/rest/' # A production release. New-Variable -Option Constant -Scope Script -Name 'PEARSTATE_STABLE' -Value 'stable' # A non-production release. Beta should be used for code that has a stable API and is nearing a fully stable release. Regresion tests and documentation should exist or soon follow to qualify as a beta release. Release candidates should use the beta stability. New-Variable -Option Constant -Scope Script -Name 'PEARSTATE_BETA' -Value 'beta' # A new non-production release. Alpha should be used for new code that has an unstable API or untested code. New-Variable -Option Constant -Scope Script -Name 'PEARSTATE_ALPHA' -Value 'alpha' # A very new non-production release. Devel should be used for extremely new, practically untested code. New-Variable -Option Constant -Scope Script -Name 'PEARSTATE_DEVEL' -Value 'devel' # A frozen picture of development at a particular moment. New-Variable -Option Constant -Scope Script -Name 'PEARSTATE_SNAPSHOT' -Value 'snapshot' |