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' # PHP non-stable identifier: Alpha New-Variable -Option Constant -Scope Script -Name 'UNSTABLEPHP_ALPHA' -Value 'alpha' # PHP non-stable identifier: Beta New-Variable -Option Constant -Scope Script -Name 'UNSTABLEPHP_BETA' -Value 'beta' # PHP non-stable identifier: Release candidate New-Variable -Option Constant -Scope Script -Name 'UNSTABLEPHP_RELEASECANDIDATE' -Value 'RC' # PHP non-stable identifiers regex New-Variable -Option Constant -Scope Script -Name 'UNSTABLEPHP_RX' -Value "$UNSTABLEPHP_ALPHA|$UNSTABLEPHP_BETA|$UNSTABLEPHP_RELEASECANDIDATE" New-Variable -Option Constant -Scope Script -Name 'RX_ZIPARCHIVE' -Value "php-(\d+\.\d+\.\d+)(?:($UNSTABLEPHP_RX)([1-9]\d*))?(-nts)?-Win32-(?:VC|vc|vs)(\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/' # PEAR stability: a production release. New-Variable -Option Constant -Scope Script -Name 'PEARSTATE_STABLE' -Value 'stable' # PEAR stability: 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' # PEAR stability: 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' # PEAR stability: 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' # PEAR stability: a frozen picture of development at a particular moment. New-Variable -Option Constant -Scope Script -Name 'PEARSTATE_SNAPSHOT' -Value 'snapshot' New-Variable -Option Constant -Scope Script -Name 'CACERT_PEM_URL' -Value 'https://curl.haxx.se/ca/cacert.pem' New-Variable -Option Constant -Scope Script -Name 'CACERT_CHECKSUM_URL' -Value 'https://curl.haxx.se/ca/cacert.pem.sha256' New-Variable -Option Constant -Scope Script -Name 'CACERT_CHECKSUM_ALGORITHM' -Value 'SHA256' New-Variable -Option Constant -Scope Script -Name 'STATUS_DLL_NOT_FOUND' -Value 0xC0000135 New-Variable -Option Constant -Scope Script -Name 'ENTRYPOINT_NOT_FOUND' -Value 0xC0000139 |