Predefined Constants

The constants below are defined by this extension, and will only be available when the extension has either been compiled into PHP or dynamically loaded at runtime.

CRYPT_SALT_LENGTH int
CRYPT_STD_DES int
Indicates whether standard DES-based hashes are supported in crypt(). Always 1.
CRYPT_EXT_DES int
Indicates whether extended DES-based hashes are supported in crypt(). Always 1.
CRYPT_MD5 int
Indicates whether MD5 hashes are supported in crypt(). Always 1.
CRYPT_BLOWFISH int
Indicates whether Blowfish hashes are supported in crypt(). Always 1.
CRYPT_SHA256 int
Indicates whether SHA-256 hashes are supported in crypt(). Always 1.
CRYPT_SHA512 int
Indicates whether SHA-512 hashes are supported in crypt(). Always 1.
HTML_SPECIALCHARS (int)
HTML_ENTITIES (int)
ENT_COMPAT (int)
ENT_QUOTES (int)
ENT_NOQUOTES (int)
ENT_IGNORE (int)
ENT_SUBSTITUTE (int)
ENT_DISALLOWED (int)
ENT_HTML401 (int)
ENT_XML1 (int)
ENT_XHTML (int)
ENT_HTML5 (int)
CHAR_MAX (int)
LC_CTYPE (int)
LC_NUMERIC (int)
LC_TIME (int)
LC_COLLATE (int)
LC_MONETARY (int)
LC_ALL (int)
LC_MESSAGES (int)
STR_PAD_LEFT (int)
STR_PAD_RIGHT (int)
STR_PAD_BOTH (int)